From b765cb4b34c7eb862b534f123eaa4448f437e873 Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Tue, 27 Feb 2024 15:28:45 -0800 Subject: [PATCH 01/11] Revise generated C++ code Replace uses of native types for port numbers --- .../ComponentCommands.scala | 2 +- .../ComponentCppWriter.scala | 12 +- .../ComponentCppWriterUtils.scala | 2 +- .../ComponentDataProducts.scala | 2 +- .../ComponentInternalPort.scala | 4 +- .../TestWriter/ComponentTestImplWriter.scala | 2 +- ...veAsyncProductPortsOnlyComponentAc.ref.cpp | 44 +- ...veAsyncProductPortsOnlyComponentAc.ref.hpp | 26 +- .../ActiveAsyncProductsComponentAc.ref.cpp | 314 +++++++-------- .../ActiveAsyncProductsComponentAc.ref.hpp | 218 +++++----- .../base/ActiveCommandsComponentAc.ref.cpp | 286 ++++++------- .../base/ActiveCommandsComponentAc.ref.hpp | 192 ++++----- .../base/ActiveEventsComponentAc.ref.cpp | 276 ++++++------- .../base/ActiveEventsComponentAc.ref.hpp | 192 ++++----- .../base/ActiveGetProductsComponentAc.ref.cpp | 298 +++++++------- .../base/ActiveGetProductsComponentAc.ref.hpp | 206 +++++----- .../ActiveGuardedProductsComponentAc.ref.cpp | 314 +++++++-------- .../ActiveGuardedProductsComponentAc.ref.hpp | 218 +++++----- .../ActiveNoArgsPortsOnlyComponentAc.ref.cpp | 70 ++-- .../ActiveNoArgsPortsOnlyComponentAc.ref.hpp | 48 +-- .../base/ActiveParamsComponentAc.ref.cpp | 276 ++++++------- .../base/ActiveParamsComponentAc.ref.hpp | 192 ++++----- .../base/ActiveSerialComponentAc.ref.cpp | 378 +++++++++--------- .../base/ActiveSerialComponentAc.ref.hpp | 254 ++++++------ .../ActiveSyncProductsComponentAc.ref.cpp | 314 +++++++-------- .../ActiveSyncProductsComponentAc.ref.hpp | 218 +++++----- .../base/ActiveTelemetryComponentAc.ref.cpp | 276 ++++++------- .../base/ActiveTelemetryComponentAc.ref.hpp | 192 ++++----- .../base/ActiveTestComponentAc.ref.cpp | 336 ++++++++-------- .../base/ActiveTestComponentAc.ref.hpp | 218 +++++----- .../base/PassiveCommandsComponentAc.ref.cpp | 210 +++++----- .../base/PassiveCommandsComponentAc.ref.hpp | 142 +++---- .../base/PassiveEventsComponentAc.ref.cpp | 210 +++++----- .../base/PassiveEventsComponentAc.ref.hpp | 142 +++---- ...siveGetProductPortsOnlyComponentAc.ref.cpp | 22 +- ...siveGetProductPortsOnlyComponentAc.ref.hpp | 14 +- .../PassiveGetProductsComponentAc.ref.cpp | 232 +++++------ .../PassiveGetProductsComponentAc.ref.hpp | 156 ++++---- .../PassiveGuardedProductsComponentAc.ref.cpp | 248 ++++++------ .../PassiveGuardedProductsComponentAc.ref.hpp | 168 ++++---- .../base/PassiveParamsComponentAc.ref.cpp | 210 +++++----- .../base/PassiveParamsComponentAc.ref.hpp | 142 +++---- .../base/PassiveSerialComponentAc.ref.cpp | 240 +++++------ .../base/PassiveSerialComponentAc.ref.hpp | 164 ++++---- ...iveSyncProductPortsOnlyComponentAc.ref.cpp | 38 +- ...iveSyncProductPortsOnlyComponentAc.ref.hpp | 26 +- .../PassiveSyncProductsComponentAc.ref.cpp | 248 ++++++------ .../PassiveSyncProductsComponentAc.ref.hpp | 168 ++++---- .../base/PassiveTelemetryComponentAc.ref.cpp | 210 +++++----- .../base/PassiveTelemetryComponentAc.ref.hpp | 142 +++---- .../base/PassiveTestComponentAc.ref.cpp | 248 ++++++------ .../base/PassiveTestComponentAc.ref.hpp | 168 ++++---- ...edAsyncProductPortsOnlyComponentAc.ref.cpp | 44 +- ...edAsyncProductPortsOnlyComponentAc.ref.hpp | 26 +- .../QueuedAsyncProductsComponentAc.ref.cpp | 314 +++++++-------- .../QueuedAsyncProductsComponentAc.ref.hpp | 218 +++++----- .../base/QueuedCommandsComponentAc.ref.cpp | 286 ++++++------- .../base/QueuedCommandsComponentAc.ref.hpp | 192 ++++----- .../base/QueuedEventsComponentAc.ref.cpp | 276 ++++++------- .../base/QueuedEventsComponentAc.ref.hpp | 192 ++++----- .../base/QueuedGetProductsComponentAc.ref.cpp | 298 +++++++------- .../base/QueuedGetProductsComponentAc.ref.hpp | 206 +++++----- .../QueuedGuardedProductsComponentAc.ref.cpp | 314 +++++++-------- .../QueuedGuardedProductsComponentAc.ref.hpp | 218 +++++----- .../QueuedNoArgsPortsOnlyComponentAc.ref.cpp | 70 ++-- .../QueuedNoArgsPortsOnlyComponentAc.ref.hpp | 48 +-- .../base/QueuedParamsComponentAc.ref.cpp | 276 ++++++------- .../base/QueuedParamsComponentAc.ref.hpp | 192 ++++----- .../base/QueuedSerialComponentAc.ref.cpp | 378 +++++++++--------- .../base/QueuedSerialComponentAc.ref.hpp | 254 ++++++------ .../QueuedSyncProductsComponentAc.ref.cpp | 314 +++++++-------- .../QueuedSyncProductsComponentAc.ref.hpp | 218 +++++----- .../base/QueuedTelemetryComponentAc.ref.cpp | 276 ++++++------- .../base/QueuedTelemetryComponentAc.ref.hpp | 192 ++++----- .../base/QueuedTestComponentAc.ref.cpp | 336 ++++++++-------- .../base/QueuedTestComponentAc.ref.hpp | 218 +++++----- .../impl/ActiveAsyncProducts.template.ref.cpp | 26 +- .../impl/ActiveAsyncProducts.template.ref.hpp | 26 +- .../impl/ActiveCommands.template.ref.cpp | 26 +- .../impl/ActiveCommands.template.ref.hpp | 26 +- .../impl/ActiveEvents.template.ref.cpp | 26 +- .../impl/ActiveEvents.template.ref.hpp | 26 +- .../impl/ActiveGetProducts.template.ref.cpp | 26 +- .../impl/ActiveGetProducts.template.ref.hpp | 26 +- .../ActiveGuardedProducts.template.ref.cpp | 26 +- .../ActiveGuardedProducts.template.ref.hpp | 26 +- .../ActiveNoArgsPortsOnly.template.ref.cpp | 8 +- .../ActiveNoArgsPortsOnly.template.ref.hpp | 8 +- .../impl/ActiveParams.template.ref.cpp | 26 +- .../impl/ActiveParams.template.ref.hpp | 26 +- .../impl/ActiveSerial.template.ref.cpp | 38 +- .../impl/ActiveSerial.template.ref.hpp | 38 +- .../impl/ActiveSyncProducts.template.ref.cpp | 26 +- .../impl/ActiveSyncProducts.template.ref.hpp | 26 +- .../impl/ActiveTelemetry.template.ref.cpp | 26 +- .../impl/ActiveTelemetry.template.ref.hpp | 26 +- .../impl/ActiveTest.template.ref.cpp | 26 +- .../impl/ActiveTest.template.ref.hpp | 26 +- .../impl/PassiveCommands.template.ref.cpp | 16 +- .../impl/PassiveCommands.template.ref.hpp | 16 +- .../impl/PassiveEvents.template.ref.cpp | 16 +- .../impl/PassiveEvents.template.ref.hpp | 16 +- .../impl/PassiveGetProducts.template.ref.cpp | 16 +- .../impl/PassiveGetProducts.template.ref.hpp | 16 +- .../PassiveGuardedProducts.template.ref.cpp | 16 +- .../PassiveGuardedProducts.template.ref.hpp | 16 +- .../impl/PassiveParams.template.ref.cpp | 16 +- .../impl/PassiveParams.template.ref.hpp | 16 +- .../impl/PassiveSerial.template.ref.cpp | 20 +- .../impl/PassiveSerial.template.ref.hpp | 20 +- .../impl/PassiveSyncProducts.template.ref.cpp | 16 +- .../impl/PassiveSyncProducts.template.ref.hpp | 16 +- .../impl/PassiveTelemetry.template.ref.cpp | 16 +- .../impl/PassiveTelemetry.template.ref.hpp | 16 +- .../impl/PassiveTest.template.ref.cpp | 16 +- .../impl/PassiveTest.template.ref.hpp | 16 +- .../impl/QueuedAsyncProducts.template.ref.cpp | 26 +- .../impl/QueuedAsyncProducts.template.ref.hpp | 26 +- .../impl/QueuedCommands.template.ref.cpp | 26 +- .../impl/QueuedCommands.template.ref.hpp | 26 +- .../impl/QueuedEvents.template.ref.cpp | 26 +- .../impl/QueuedEvents.template.ref.hpp | 26 +- .../impl/QueuedGetProducts.template.ref.cpp | 26 +- .../impl/QueuedGetProducts.template.ref.hpp | 26 +- .../QueuedGuardedProducts.template.ref.cpp | 26 +- .../QueuedGuardedProducts.template.ref.hpp | 26 +- .../QueuedNoArgsPortsOnly.template.ref.cpp | 8 +- .../QueuedNoArgsPortsOnly.template.ref.hpp | 8 +- .../impl/QueuedParams.template.ref.cpp | 26 +- .../impl/QueuedParams.template.ref.hpp | 26 +- .../impl/QueuedSerial.template.ref.cpp | 38 +- .../impl/QueuedSerial.template.ref.hpp | 38 +- .../impl/QueuedSyncProducts.template.ref.cpp | 26 +- .../impl/QueuedSyncProducts.template.ref.hpp | 26 +- .../impl/QueuedTelemetry.template.ref.cpp | 26 +- .../impl/QueuedTelemetry.template.ref.hpp | 26 +- .../impl/QueuedTest.template.ref.cpp | 26 +- .../impl/QueuedTest.template.ref.hpp | 26 +- ...iveAsyncProductPortsOnlyTesterBase.ref.cpp | 8 +- ...iveAsyncProductPortsOnlyTesterBase.ref.hpp | 8 +- .../ActiveAsyncProductsTesterBase.ref.cpp | 220 +++++----- .../ActiveAsyncProductsTesterBase.ref.hpp | 144 +++---- .../ActiveCommandsTesterBase.ref.cpp | 212 +++++----- .../ActiveCommandsTesterBase.ref.hpp | 136 +++---- .../test-base/ActiveEventsTesterBase.ref.cpp | 208 +++++----- .../test-base/ActiveEventsTesterBase.ref.hpp | 136 +++---- .../ActiveGetProductsTesterBase.ref.cpp | 212 +++++----- .../ActiveGetProductsTesterBase.ref.hpp | 140 +++---- .../ActiveGuardedProductsTesterBase.ref.cpp | 220 +++++----- .../ActiveGuardedProductsTesterBase.ref.hpp | 144 +++---- .../ActiveNoArgsPortsOnlyTesterBase.ref.cpp | 60 +-- .../ActiveNoArgsPortsOnlyTesterBase.ref.hpp | 40 +- .../test-base/ActiveParamsTesterBase.ref.cpp | 224 +++++------ .../test-base/ActiveParamsTesterBase.ref.hpp | 140 +++---- .../test-base/ActiveSerialTesterBase.ref.cpp | 312 +++++++-------- .../test-base/ActiveSerialTesterBase.ref.hpp | 190 ++++----- .../ActiveSyncProductsTesterBase.ref.cpp | 220 +++++----- .../ActiveSyncProductsTesterBase.ref.hpp | 144 +++---- .../ActiveTelemetryTesterBase.ref.cpp | 202 +++++----- .../ActiveTelemetryTesterBase.ref.hpp | 134 +++---- .../test-base/ActiveTestTesterBase.ref.cpp | 266 ++++++------ .../test-base/ActiveTestTesterBase.ref.hpp | 158 ++++---- .../PassiveCommandsTesterBase.ref.cpp | 162 ++++---- .../PassiveCommandsTesterBase.ref.hpp | 106 ++--- .../test-base/PassiveEventsTesterBase.ref.cpp | 158 ++++---- .../test-base/PassiveEventsTesterBase.ref.hpp | 106 ++--- ...ssiveGetProductPortsOnlyTesterBase.ref.cpp | 4 +- ...ssiveGetProductPortsOnlyTesterBase.ref.hpp | 4 +- .../PassiveGetProductsTesterBase.ref.cpp | 162 ++++---- .../PassiveGetProductsTesterBase.ref.hpp | 110 ++--- .../PassiveGuardedProductsTesterBase.ref.cpp | 170 ++++---- .../PassiveGuardedProductsTesterBase.ref.hpp | 114 +++--- .../test-base/PassiveParamsTesterBase.ref.cpp | 174 ++++---- .../test-base/PassiveParamsTesterBase.ref.hpp | 110 ++--- .../test-base/PassiveSerialTesterBase.ref.cpp | 222 +++++----- .../test-base/PassiveSerialTesterBase.ref.hpp | 136 +++---- ...siveSyncProductPortsOnlyTesterBase.ref.cpp | 8 +- ...siveSyncProductPortsOnlyTesterBase.ref.hpp | 8 +- .../PassiveSyncProductsTesterBase.ref.cpp | 170 ++++---- .../PassiveSyncProductsTesterBase.ref.hpp | 114 +++--- .../PassiveTelemetryTesterBase.ref.cpp | 152 +++---- .../PassiveTelemetryTesterBase.ref.hpp | 104 ++--- .../test-base/PassiveTestTesterBase.ref.cpp | 216 +++++----- .../test-base/PassiveTestTesterBase.ref.hpp | 128 +++--- ...uedAsyncProductPortsOnlyTesterBase.ref.cpp | 8 +- ...uedAsyncProductPortsOnlyTesterBase.ref.hpp | 8 +- .../QueuedAsyncProductsTesterBase.ref.cpp | 220 +++++----- .../QueuedAsyncProductsTesterBase.ref.hpp | 144 +++---- .../QueuedCommandsTesterBase.ref.cpp | 212 +++++----- .../QueuedCommandsTesterBase.ref.hpp | 136 +++---- .../test-base/QueuedEventsTesterBase.ref.cpp | 208 +++++----- .../test-base/QueuedEventsTesterBase.ref.hpp | 136 +++---- .../QueuedGetProductsTesterBase.ref.cpp | 212 +++++----- .../QueuedGetProductsTesterBase.ref.hpp | 140 +++---- .../QueuedGuardedProductsTesterBase.ref.cpp | 220 +++++----- .../QueuedGuardedProductsTesterBase.ref.hpp | 144 +++---- .../QueuedNoArgsPortsOnlyTesterBase.ref.cpp | 60 +-- .../QueuedNoArgsPortsOnlyTesterBase.ref.hpp | 40 +- .../test-base/QueuedParamsTesterBase.ref.cpp | 224 +++++------ .../test-base/QueuedParamsTesterBase.ref.hpp | 140 +++---- .../test-base/QueuedSerialTesterBase.ref.cpp | 312 +++++++-------- .../test-base/QueuedSerialTesterBase.ref.hpp | 190 ++++----- .../QueuedSyncProductsTesterBase.ref.cpp | 220 +++++----- .../QueuedSyncProductsTesterBase.ref.hpp | 144 +++---- .../QueuedTelemetryTesterBase.ref.cpp | 202 +++++----- .../QueuedTelemetryTesterBase.ref.hpp | 134 +++---- .../test-base/QueuedTestTesterBase.ref.cpp | 266 ++++++------ .../test-base/QueuedTestTesterBase.ref.hpp | 158 ++++---- .../ActiveAsyncProductsTester.ref.cpp | 8 +- .../ActiveAsyncProductsTester.ref.hpp | 8 +- .../ActiveAsyncProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveCommandsTester.ref.cpp | 8 +- .../test-impl/ActiveCommandsTester.ref.hpp | 8 +- .../ActiveCommandsTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveEventsTester.ref.cpp | 8 +- .../test-impl/ActiveEventsTester.ref.hpp | 8 +- .../ActiveEventsTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveGetProductsTester.ref.cpp | 8 +- .../test-impl/ActiveGetProductsTester.ref.hpp | 8 +- .../ActiveGetProductsTesterHelpers.ref.cpp | 8 +- .../ActiveGuardedProductsTester.ref.cpp | 8 +- .../ActiveGuardedProductsTester.ref.hpp | 8 +- ...ActiveGuardedProductsTesterHelpers.ref.cpp | 8 +- .../ActiveNoArgsPortsOnlyTester.ref.cpp | 4 +- .../ActiveNoArgsPortsOnlyTester.ref.hpp | 4 +- ...ActiveNoArgsPortsOnlyTesterHelpers.ref.cpp | 4 +- .../test-impl/ActiveParamsTester.ref.cpp | 8 +- .../test-impl/ActiveParamsTester.ref.hpp | 8 +- .../ActiveParamsTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveSerialTester.ref.cpp | 10 +- .../test-impl/ActiveSerialTester.ref.hpp | 10 +- .../ActiveSerialTesterHelpers.ref.cpp | 10 +- .../ActiveSyncProductsTester.ref.cpp | 8 +- .../ActiveSyncProductsTester.ref.hpp | 8 +- .../ActiveSyncProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveTelemetryTester.ref.cpp | 8 +- .../test-impl/ActiveTelemetryTester.ref.hpp | 8 +- .../ActiveTelemetryTesterHelpers.ref.cpp | 8 +- .../test-impl/ActiveTestTester.ref.cpp | 8 +- .../test-impl/ActiveTestTester.ref.hpp | 8 +- .../test-impl/ActiveTestTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveCommandsTester.ref.cpp | 8 +- .../test-impl/PassiveCommandsTester.ref.hpp | 8 +- .../PassiveCommandsTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveEventsTester.ref.cpp | 8 +- .../test-impl/PassiveEventsTester.ref.hpp | 8 +- .../PassiveEventsTesterHelpers.ref.cpp | 8 +- .../PassiveGetProductsTester.ref.cpp | 8 +- .../PassiveGetProductsTester.ref.hpp | 8 +- .../PassiveGetProductsTesterHelpers.ref.cpp | 8 +- .../PassiveGuardedProductsTester.ref.cpp | 8 +- .../PassiveGuardedProductsTester.ref.hpp | 8 +- ...assiveGuardedProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveParamsTester.ref.cpp | 8 +- .../test-impl/PassiveParamsTester.ref.hpp | 8 +- .../PassiveParamsTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveSerialTester.ref.cpp | 10 +- .../test-impl/PassiveSerialTester.ref.hpp | 10 +- .../PassiveSerialTesterHelpers.ref.cpp | 10 +- .../PassiveSyncProductsTester.ref.cpp | 8 +- .../PassiveSyncProductsTester.ref.hpp | 8 +- .../PassiveSyncProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveTelemetryTester.ref.cpp | 8 +- .../test-impl/PassiveTelemetryTester.ref.hpp | 8 +- .../PassiveTelemetryTesterHelpers.ref.cpp | 8 +- .../test-impl/PassiveTestTester.ref.cpp | 8 +- .../test-impl/PassiveTestTester.ref.hpp | 8 +- .../PassiveTestTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedCommandsTester.ref.cpp | 8 +- .../test-impl/QueuedCommandsTester.ref.hpp | 8 +- .../QueuedCommandsTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedEventsTester.ref.cpp | 8 +- .../test-impl/QueuedEventsTester.ref.hpp | 8 +- .../QueuedEventsTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedGetProductsTester.ref.cpp | 8 +- .../test-impl/QueuedGetProductsTester.ref.hpp | 8 +- .../QueuedGetProductsTesterHelpers.ref.cpp | 8 +- .../QueuedGuardedProductsTester.ref.cpp | 8 +- .../QueuedGuardedProductsTester.ref.hpp | 8 +- ...QueuedGuardedProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedParamsTester.ref.cpp | 8 +- .../test-impl/QueuedParamsTester.ref.hpp | 8 +- .../QueuedParamsTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedSerialTester.ref.cpp | 10 +- .../test-impl/QueuedSerialTester.ref.hpp | 10 +- .../QueuedSerialTesterHelpers.ref.cpp | 10 +- .../QueuedSyncProductsTester.ref.cpp | 8 +- .../QueuedSyncProductsTester.ref.hpp | 8 +- .../QueuedSyncProductsTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedTelemetryTester.ref.cpp | 8 +- .../test-impl/QueuedTelemetryTester.ref.hpp | 8 +- .../QueuedTelemetryTesterHelpers.ref.cpp | 8 +- .../test-impl/QueuedTestTester.ref.cpp | 8 +- .../test-impl/QueuedTestTester.ref.hpp | 8 +- .../test-impl/QueuedTestTesterHelpers.ref.cpp | 8 +- 295 files changed, 13398 insertions(+), 13398 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala index eeacbff77..cc39b87f8 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala @@ -170,7 +170,7 @@ case class ComponentCommands ( |); | |// Fake port number to make message dequeue work - |NATIVE_INT_TYPE port = 0; + |FwIndexType port = 0; |""" ), intersperseBlankLines( diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala index 7038534b6..c520fb1df 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala @@ -358,10 +358,10 @@ case class ComponentCppWriter ( | SERIALIZATION_SIZE =${if (buffUnion.nonEmpty) """ | sizeof(BuffUnion) +""" else "" } | sizeof(NATIVE_INT_TYPE) + - | sizeof(NATIVE_INT_TYPE) + | sizeof(FwIndexType) | }; | - | NATIVE_UINT_TYPE getBuffCapacity() const { + | FwSizeType getBuffCapacity() const { | return sizeof(m_buff); | } | @@ -413,7 +413,7 @@ case class ComponentCppWriter ( |// NATIVE_INT_TYPE cast because of compiler warning. |this->m_msgSize = FW_MAX( | msgSize + - | static_cast(sizeof(NATIVE_INT_TYPE)) + + | static_cast(sizeof(FwIndexType)) + | static_cast(sizeof(I32)), | static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) |); @@ -796,7 +796,7 @@ case class ComponentCppWriter ( ), lines( """| - |NATIVE_INT_TYPE portNum = 0; + |FwIndexType portNum = 0; |deserStatus = msg.deserialize(portNum); |FW_ASSERT( | deserStatus == Fw::FW_SERIALIZE_OK, @@ -947,8 +947,8 @@ object ComponentCppWriter extends CppWriterUtils { val body = line(s"// Connect ${d.toString} port ${port.getUnqualifiedName}") :: wrapInForLoopStaggered( - "PlatformIntType port = 0", - s"port < static_cast(this->${numGetterName(port)}())", + "FwIndexType port = 0", + s"port < static_cast(this->${numGetterName(port)}())", "port++", List( lines( diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala index fc906ccf4..9bbc52e30 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala @@ -34,7 +34,7 @@ abstract class ComponentCppWriterUtils( /** Port number param as a CppDoc Function Param */ val portNumParam: CppDoc.Function.Param = CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwIndexType"), "portNum", Some("The port number") ) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentDataProducts.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentDataProducts.scala index 606de3205..66df68209 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentDataProducts.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentDataProducts.scala @@ -184,7 +184,7 @@ case class ComponentDataProducts ( s"${portName}_handler", List( CppDoc.Function.Param( - CppDoc.Type("const NATIVE_INT_TYPE"), + CppDoc.Type("const FwIndexType"), "portNum", Some("The port number") ), diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala index a346df9e2..9a3ec759d 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala @@ -63,7 +63,7 @@ case class ComponentInternalPort ( |); | |// Fake port number to make message dequeue work - |_status = msg.serialize(static_cast(0)); + |_status = msg.serialize(static_cast(0)); |FW_ASSERT ( | _status == Fw::FW_SERIALIZE_OK, | static_cast(_status) @@ -94,4 +94,4 @@ case class ComponentInternalPort ( private def internalInterfaceHandlerBaseName(name: String) = s"${name}_internalInterfaceInvoke" -} \ No newline at end of file +} diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala index 40296268c..59f7b6834 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala @@ -194,7 +194,7 @@ case class ComponentTestImplWriter( p => p.getArraySize match { case 1 => writeConnection(p, "0") case size => wrapInForLoop( - "NATIVE_UINT_TYPE i = 0", + "FwIndexType i = 0", s"i < $size", "i++", writeConnection(p, "i") diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp index d101736cf..c4bb26d9e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp @@ -37,10 +37,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,8 +74,8 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -98,8 +98,8 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -117,8 +117,8 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -149,7 +149,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- Fw::InputDpResponsePort* ActiveAsyncProductPortsOnlyComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -165,7 +165,7 @@ Fw::InputDpResponsePort* ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -179,7 +179,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -199,7 +199,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -213,7 +213,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -275,7 +275,7 @@ NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool ActiveAsyncProductPortsOnlyComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -286,7 +286,7 @@ bool ActiveAsyncProductPortsOnlyComponentBase :: } bool ActiveAsyncProductPortsOnlyComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -304,7 +304,7 @@ bool ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -383,7 +383,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -398,7 +398,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -415,7 +415,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -466,7 +466,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductPortsOnlyComponentB return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -524,7 +524,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductPortsOnlyComponentB void ActiveAsyncProductPortsOnlyComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -546,7 +546,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: void ActiveAsyncProductPortsOnlyComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp index a18bef1e4..b71dc4231 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp @@ -69,7 +69,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -80,13 +80,13 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -100,13 +100,13 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -163,14 +163,14 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -183,7 +183,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -201,7 +201,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -215,14 +215,14 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -245,7 +245,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -259,7 +259,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp index cd9777871..a06625033 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp @@ -47,10 +47,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -239,8 +239,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -263,8 +263,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -287,8 +287,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -311,8 +311,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -335,8 +335,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -359,8 +359,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -383,8 +383,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -407,8 +407,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -431,8 +431,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -455,8 +455,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -479,8 +479,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -503,8 +503,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -527,8 +527,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -551,8 +551,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -575,8 +575,8 @@ void ActiveAsyncProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -599,8 +599,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -618,8 +618,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -637,8 +637,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -656,8 +656,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -675,8 +675,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -694,8 +694,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -713,8 +713,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -733,8 +733,8 @@ void ActiveAsyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -753,8 +753,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -772,8 +772,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -791,8 +791,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -810,8 +810,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -829,8 +829,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -848,8 +848,8 @@ void ActiveAsyncProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -880,7 +880,7 @@ void ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveAsyncProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -891,7 +891,7 @@ Fw::InputCmdPort* ActiveAsyncProductsComponentBase :: } Fw::InputDpResponsePort* ActiveAsyncProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -906,7 +906,7 @@ Fw::InputDpResponsePort* ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -917,7 +917,7 @@ Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: } Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -928,7 +928,7 @@ Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveAsyncProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -939,7 +939,7 @@ Ports::InputNoArgsReturnPort* ActiveAsyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveAsyncProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -950,7 +950,7 @@ Ports::InputNoArgsReturnPort* ActiveAsyncProductsComponentBase :: } Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -961,7 +961,7 @@ Ports::InputNoArgsPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -972,7 +972,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -983,7 +983,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -994,7 +994,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1005,7 +1005,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1016,7 +1016,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveAsyncProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1027,7 +1027,7 @@ Ports::InputTypedReturnPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveAsyncProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1038,7 +1038,7 @@ Ports::InputTypedReturnPort* ActiveAsyncProductsComponentBase :: } Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1054,7 +1054,7 @@ Ports::InputTypedPort* ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1068,7 +1068,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1082,7 +1082,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1096,7 +1096,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1110,7 +1110,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1124,7 +1124,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1138,7 +1138,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1154,7 +1154,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1170,7 +1170,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1184,7 +1184,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1202,7 +1202,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1216,7 +1216,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1230,7 +1230,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1244,7 +1244,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1264,7 +1264,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1278,7 +1278,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1292,7 +1292,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1306,7 +1306,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1320,7 +1320,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1334,7 +1334,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1350,7 +1350,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1366,7 +1366,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1380,7 +1380,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1402,7 +1402,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1416,7 +1416,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1646,7 +1646,7 @@ NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveAsyncProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1657,7 +1657,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1668,7 +1668,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1679,7 +1679,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1690,7 +1690,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1701,7 +1701,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1712,7 +1712,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1725,7 +1725,7 @@ bool ActiveAsyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveAsyncProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1738,7 +1738,7 @@ bool ActiveAsyncProductsComponentBase :: #endif bool ActiveAsyncProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1749,7 +1749,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1764,7 +1764,7 @@ bool ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveAsyncProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1775,7 +1775,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1786,7 +1786,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1797,7 +1797,7 @@ bool ActiveAsyncProductsComponentBase :: } bool ActiveAsyncProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1815,7 +1815,7 @@ bool ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1891,7 +1891,7 @@ void ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveAsyncProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1931,7 +1931,7 @@ void ActiveAsyncProductsComponentBase :: } void ActiveAsyncProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1950,7 +1950,7 @@ void ActiveAsyncProductsComponentBase :: } U32 ActiveAsyncProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1973,7 +1973,7 @@ U32 ActiveAsyncProductsComponentBase :: } U32 ActiveAsyncProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1990,7 +1990,7 @@ U32 ActiveAsyncProductsComponentBase :: } void ActiveAsyncProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2004,7 +2004,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2111,7 +2111,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2218,7 +2218,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2325,7 +2325,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2437,7 +2437,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2474,7 +2474,7 @@ void ActiveAsyncProductsComponentBase :: F32 ActiveAsyncProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2515,7 +2515,7 @@ F32 ActiveAsyncProductsComponentBase :: F32 ActiveAsyncProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2550,7 +2550,7 @@ F32 ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2589,7 +2589,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2607,14 +2607,14 @@ void ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveAsyncProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveAsyncProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2629,7 +2629,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2644,7 +2644,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2659,7 +2659,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2678,7 +2678,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2695,7 +2695,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2715,7 +2715,7 @@ void ActiveAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveAsyncProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2725,7 +2725,7 @@ void ActiveAsyncProductsComponentBase :: } U32 ActiveAsyncProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2736,7 +2736,7 @@ U32 ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2763,7 +2763,7 @@ void ActiveAsyncProductsComponentBase :: F32 ActiveAsyncProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2889,7 +2889,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3243,7 +3243,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3258,7 +3258,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3281,7 +3281,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3292,7 +3292,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3303,7 +3303,7 @@ void ActiveAsyncProductsComponentBase :: U32 ActiveAsyncProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3314,7 +3314,7 @@ U32 ActiveAsyncProductsComponentBase :: U32 ActiveAsyncProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3325,7 +3325,7 @@ U32 ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3336,7 +3336,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3363,7 +3363,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3390,7 +3390,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3417,7 +3417,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3444,7 +3444,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3471,7 +3471,7 @@ void ActiveAsyncProductsComponentBase :: F32 ActiveAsyncProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3498,7 +3498,7 @@ F32 ActiveAsyncProductsComponentBase :: F32 ActiveAsyncProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3525,7 +3525,7 @@ F32 ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3566,7 +3566,7 @@ void ActiveAsyncProductsComponentBase :: void ActiveAsyncProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp index 2be194891..2891569ad 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class ActiveAsyncProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class ActiveAsyncProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class ActiveAsyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class ActiveAsyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class ActiveAsyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class ActiveAsyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class ActiveAsyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class ActiveAsyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class ActiveAsyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class ActiveAsyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class ActiveAsyncProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class ActiveAsyncProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class ActiveAsyncProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class ActiveAsyncProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class ActiveAsyncProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class ActiveAsyncProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class ActiveAsyncProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class ActiveAsyncProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class ActiveAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class ActiveAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class ActiveAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class ActiveAsyncProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class ActiveAsyncProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class ActiveAsyncProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class ActiveAsyncProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class ActiveAsyncProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class ActiveAsyncProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp index 6686984a8..1effb0b25 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp @@ -50,10 +50,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -87,8 +87,8 @@ void ActiveCommandsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -111,8 +111,8 @@ void ActiveCommandsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -135,8 +135,8 @@ void ActiveCommandsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -159,8 +159,8 @@ void ActiveCommandsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -183,8 +183,8 @@ void ActiveCommandsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -207,8 +207,8 @@ void ActiveCommandsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -231,8 +231,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -255,8 +255,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -279,8 +279,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -303,8 +303,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -327,8 +327,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -351,8 +351,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -375,8 +375,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -399,8 +399,8 @@ void ActiveCommandsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -423,8 +423,8 @@ void ActiveCommandsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -442,8 +442,8 @@ void ActiveCommandsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -461,8 +461,8 @@ void ActiveCommandsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -480,8 +480,8 @@ void ActiveCommandsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -499,8 +499,8 @@ void ActiveCommandsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -519,8 +519,8 @@ void ActiveCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -539,8 +539,8 @@ void ActiveCommandsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -558,8 +558,8 @@ void ActiveCommandsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -577,8 +577,8 @@ void ActiveCommandsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -596,8 +596,8 @@ void ActiveCommandsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -615,8 +615,8 @@ void ActiveCommandsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -634,8 +634,8 @@ void ActiveCommandsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -666,7 +666,7 @@ void ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveCommandsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -681,7 +681,7 @@ Fw::InputCmdPort* ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveCommandsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -692,7 +692,7 @@ Ports::InputNoArgsPort* ActiveCommandsComponentBase :: } Ports::InputNoArgsPort* ActiveCommandsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -703,7 +703,7 @@ Ports::InputNoArgsPort* ActiveCommandsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveCommandsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -714,7 +714,7 @@ Ports::InputNoArgsReturnPort* ActiveCommandsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveCommandsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -725,7 +725,7 @@ Ports::InputNoArgsReturnPort* ActiveCommandsComponentBase :: } Ports::InputNoArgsPort* ActiveCommandsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -736,7 +736,7 @@ Ports::InputNoArgsPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -747,7 +747,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -758,7 +758,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -769,7 +769,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -780,7 +780,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -791,7 +791,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: } Ports::InputTypedReturnPort* ActiveCommandsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -802,7 +802,7 @@ Ports::InputTypedReturnPort* ActiveCommandsComponentBase :: } Ports::InputTypedReturnPort* ActiveCommandsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -813,7 +813,7 @@ Ports::InputTypedReturnPort* ActiveCommandsComponentBase :: } Ports::InputTypedPort* ActiveCommandsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -829,7 +829,7 @@ Ports::InputTypedPort* ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -843,7 +843,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -857,7 +857,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -871,7 +871,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -885,7 +885,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -901,7 +901,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -917,7 +917,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -931,7 +931,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -949,7 +949,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -963,7 +963,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -977,7 +977,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -991,7 +991,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1011,7 +1011,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1025,7 +1025,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1039,7 +1039,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1053,7 +1053,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1069,7 +1069,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1085,7 +1085,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1099,7 +1099,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1121,7 +1121,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1135,7 +1135,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1425,7 +1425,7 @@ NATIVE_INT_TYPE ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- bool ActiveCommandsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1436,7 +1436,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1447,7 +1447,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1458,7 +1458,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1469,7 +1469,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1482,7 +1482,7 @@ bool ActiveCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveCommandsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1495,7 +1495,7 @@ bool ActiveCommandsComponentBase :: #endif bool ActiveCommandsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1506,7 +1506,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1521,7 +1521,7 @@ bool ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- bool ActiveCommandsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1532,7 +1532,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1543,7 +1543,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1554,7 +1554,7 @@ bool ActiveCommandsComponentBase :: } bool ActiveCommandsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1571,7 +1571,7 @@ bool ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- void ActiveCommandsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1611,7 +1611,7 @@ void ActiveCommandsComponentBase :: } void ActiveCommandsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1630,7 +1630,7 @@ void ActiveCommandsComponentBase :: } U32 ActiveCommandsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1653,7 +1653,7 @@ U32 ActiveCommandsComponentBase :: } U32 ActiveCommandsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1670,7 +1670,7 @@ U32 ActiveCommandsComponentBase :: } void ActiveCommandsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1684,7 +1684,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1791,7 +1791,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1898,7 +1898,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2005,7 +2005,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2117,7 +2117,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2154,7 +2154,7 @@ void ActiveCommandsComponentBase :: F32 ActiveCommandsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2195,7 +2195,7 @@ F32 ActiveCommandsComponentBase :: F32 ActiveCommandsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2230,7 +2230,7 @@ F32 ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2268,14 +2268,14 @@ void ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- void ActiveCommandsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveCommandsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2290,7 +2290,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2305,7 +2305,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2320,7 +2320,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2338,7 +2338,7 @@ void ActiveCommandsComponentBase :: // ---------------------------------------------------------------------- void ActiveCommandsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2348,7 +2348,7 @@ void ActiveCommandsComponentBase :: } U32 ActiveCommandsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2359,7 +2359,7 @@ U32 ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2386,7 +2386,7 @@ void ActiveCommandsComponentBase :: F32 ActiveCommandsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3083,7 +3083,7 @@ void ActiveCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3142,7 +3142,7 @@ void ActiveCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3201,7 +3201,7 @@ void ActiveCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3260,7 +3260,7 @@ void ActiveCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3324,7 +3324,7 @@ void ActiveCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3500,7 +3500,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveCommandsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -4089,7 +4089,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -4265,7 +4265,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4276,7 +4276,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4287,7 +4287,7 @@ void ActiveCommandsComponentBase :: U32 ActiveCommandsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4298,7 +4298,7 @@ U32 ActiveCommandsComponentBase :: U32 ActiveCommandsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4309,7 +4309,7 @@ U32 ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4320,7 +4320,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4347,7 +4347,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4374,7 +4374,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4401,7 +4401,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4428,7 +4428,7 @@ void ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4455,7 +4455,7 @@ void ActiveCommandsComponentBase :: F32 ActiveCommandsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4482,7 +4482,7 @@ F32 ActiveCommandsComponentBase :: F32 ActiveCommandsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4509,7 +4509,7 @@ F32 ActiveCommandsComponentBase :: void ActiveCommandsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp index c08930a02..9d03c21ea 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp @@ -138,7 +138,7 @@ class ActiveCommandsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -151,91 +151,91 @@ class ActiveCommandsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -246,31 +246,31 @@ class ActiveCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -278,7 +278,7 @@ class ActiveCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -286,13 +286,13 @@ class ActiveCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -304,25 +304,25 @@ class ActiveCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -336,25 +336,25 @@ class ActiveCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -362,7 +362,7 @@ class ActiveCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -370,13 +370,13 @@ class ActiveCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -392,13 +392,13 @@ class ActiveCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -597,35 +597,35 @@ class ActiveCommandsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -634,7 +634,7 @@ class ActiveCommandsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -643,14 +643,14 @@ class ActiveCommandsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -663,28 +663,28 @@ class ActiveCommandsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -695,32 +695,32 @@ class ActiveCommandsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,7 +732,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -744,7 +744,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -756,7 +756,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -768,7 +768,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -780,7 +780,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -792,7 +792,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -804,7 +804,7 @@ class ActiveCommandsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -824,32 +824,32 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -861,7 +861,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -873,7 +873,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -885,7 +885,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -897,7 +897,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -909,7 +909,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -921,7 +921,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -933,7 +933,7 @@ class ActiveCommandsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -955,12 +955,12 @@ class ActiveCommandsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -972,7 +972,7 @@ class ActiveCommandsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -984,7 +984,7 @@ class ActiveCommandsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -996,7 +996,7 @@ class ActiveCommandsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1014,17 +1014,17 @@ class ActiveCommandsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1036,7 +1036,7 @@ class ActiveCommandsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1464,7 +1464,7 @@ class ActiveCommandsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1479,37 +1479,37 @@ class ActiveCommandsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1522,7 +1522,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1535,7 +1535,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1548,7 +1548,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1561,7 +1561,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1574,7 +1574,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1587,7 +1587,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1600,7 +1600,7 @@ class ActiveCommandsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp index 0461b3b4d..ef69345c1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void ActiveEventsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void ActiveEventsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void ActiveEventsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void ActiveEventsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void ActiveEventsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void ActiveEventsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void ActiveEventsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void ActiveEventsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void ActiveEventsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void ActiveEventsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void ActiveEventsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void ActiveEventsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void ActiveEventsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void ActiveEventsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void ActiveEventsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void ActiveEventsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void ActiveEventsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void ActiveEventsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void ActiveEventsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void ActiveEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void ActiveEventsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void ActiveEventsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void ActiveEventsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void ActiveEventsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void ActiveEventsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void ActiveEventsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void ActiveEventsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveEventsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* ActiveEventsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveEventsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* ActiveEventsComponentBase :: } Ports::InputNoArgsPort* ActiveEventsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* ActiveEventsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveEventsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* ActiveEventsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveEventsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* ActiveEventsComponentBase :: } Ports::InputNoArgsPort* ActiveEventsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: } Ports::InputTypedReturnPort* ActiveEventsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* ActiveEventsComponentBase :: } Ports::InputTypedReturnPort* ActiveEventsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* ActiveEventsComponentBase :: } Ports::InputTypedPort* ActiveEventsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1344,7 +1344,7 @@ NATIVE_INT_TYPE ActiveEventsComponentBase :: // ---------------------------------------------------------------------- bool ActiveEventsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1355,7 +1355,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1366,7 +1366,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1377,7 +1377,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1388,7 +1388,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1401,7 +1401,7 @@ bool ActiveEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveEventsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1414,7 +1414,7 @@ bool ActiveEventsComponentBase :: #endif bool ActiveEventsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1425,7 +1425,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1440,7 +1440,7 @@ bool ActiveEventsComponentBase :: // ---------------------------------------------------------------------- bool ActiveEventsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1451,7 +1451,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1462,7 +1462,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1473,7 +1473,7 @@ bool ActiveEventsComponentBase :: } bool ActiveEventsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1490,7 +1490,7 @@ bool ActiveEventsComponentBase :: // ---------------------------------------------------------------------- void ActiveEventsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1530,7 +1530,7 @@ void ActiveEventsComponentBase :: } void ActiveEventsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1549,7 +1549,7 @@ void ActiveEventsComponentBase :: } U32 ActiveEventsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1572,7 +1572,7 @@ U32 ActiveEventsComponentBase :: } U32 ActiveEventsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1589,7 +1589,7 @@ U32 ActiveEventsComponentBase :: } void ActiveEventsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1603,7 +1603,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1710,7 +1710,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1817,7 +1817,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1924,7 +1924,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2036,7 +2036,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2073,7 +2073,7 @@ void ActiveEventsComponentBase :: F32 ActiveEventsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2114,7 +2114,7 @@ F32 ActiveEventsComponentBase :: F32 ActiveEventsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2149,7 +2149,7 @@ F32 ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2187,14 +2187,14 @@ void ActiveEventsComponentBase :: // ---------------------------------------------------------------------- void ActiveEventsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveEventsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2209,7 +2209,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2224,7 +2224,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2239,7 +2239,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2257,7 +2257,7 @@ void ActiveEventsComponentBase :: // ---------------------------------------------------------------------- void ActiveEventsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2267,7 +2267,7 @@ void ActiveEventsComponentBase :: } U32 ActiveEventsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2278,7 +2278,7 @@ U32 ActiveEventsComponentBase :: void ActiveEventsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2305,7 +2305,7 @@ void ActiveEventsComponentBase :: F32 ActiveEventsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3097,7 +3097,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveEventsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3415,7 +3415,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3434,7 +3434,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3445,7 +3445,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3456,7 +3456,7 @@ void ActiveEventsComponentBase :: U32 ActiveEventsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3467,7 +3467,7 @@ U32 ActiveEventsComponentBase :: U32 ActiveEventsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3478,7 +3478,7 @@ U32 ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3489,7 +3489,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3516,7 +3516,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3543,7 +3543,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3570,7 +3570,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3597,7 +3597,7 @@ void ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3624,7 +3624,7 @@ void ActiveEventsComponentBase :: F32 ActiveEventsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3651,7 +3651,7 @@ F32 ActiveEventsComponentBase :: F32 ActiveEventsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3678,7 +3678,7 @@ F32 ActiveEventsComponentBase :: void ActiveEventsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp index ae131fdef..554aeb65f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp @@ -135,7 +135,7 @@ class ActiveEventsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -148,91 +148,91 @@ class ActiveEventsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,31 +243,31 @@ class ActiveEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -275,7 +275,7 @@ class ActiveEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -283,13 +283,13 @@ class ActiveEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -301,25 +301,25 @@ class ActiveEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -333,25 +333,25 @@ class ActiveEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -359,7 +359,7 @@ class ActiveEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -367,13 +367,13 @@ class ActiveEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -389,13 +389,13 @@ class ActiveEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -583,35 +583,35 @@ class ActiveEventsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -620,7 +620,7 @@ class ActiveEventsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -629,14 +629,14 @@ class ActiveEventsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -649,28 +649,28 @@ class ActiveEventsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -681,32 +681,32 @@ class ActiveEventsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -718,7 +718,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -730,7 +730,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -742,7 +742,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -754,7 +754,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -766,7 +766,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -778,7 +778,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -790,7 +790,7 @@ class ActiveEventsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -810,32 +810,32 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -847,7 +847,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -859,7 +859,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -871,7 +871,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -883,7 +883,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -895,7 +895,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -907,7 +907,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -919,7 +919,7 @@ class ActiveEventsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -941,12 +941,12 @@ class ActiveEventsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -958,7 +958,7 @@ class ActiveEventsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -970,7 +970,7 @@ class ActiveEventsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -982,7 +982,7 @@ class ActiveEventsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1000,17 +1000,17 @@ class ActiveEventsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1022,7 +1022,7 @@ class ActiveEventsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1145,7 +1145,7 @@ class ActiveEventsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1160,37 +1160,37 @@ class ActiveEventsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1203,7 +1203,7 @@ class ActiveEventsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1216,7 +1216,7 @@ class ActiveEventsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1229,7 +1229,7 @@ class ActiveEventsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1242,7 +1242,7 @@ class ActiveEventsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1255,7 +1255,7 @@ class ActiveEventsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1268,7 +1268,7 @@ class ActiveEventsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1281,7 +1281,7 @@ class ActiveEventsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp index 6ca051426..af0e0096f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void ActiveGetProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void ActiveGetProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -285,8 +285,8 @@ void ActiveGetProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -309,8 +309,8 @@ void ActiveGetProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void ActiveGetProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -357,8 +357,8 @@ void ActiveGetProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -405,8 +405,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -429,8 +429,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -453,8 +453,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -501,8 +501,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -549,8 +549,8 @@ void ActiveGetProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void ActiveGetProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -592,8 +592,8 @@ void ActiveGetProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -611,8 +611,8 @@ void ActiveGetProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -630,8 +630,8 @@ void ActiveGetProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -649,8 +649,8 @@ void ActiveGetProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -668,8 +668,8 @@ void ActiveGetProductsComponentBase :: // Connect output port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productGetOut_OutputPorts()); port++ ) { this->m_productGetOut_OutputPort[port].init(); @@ -687,8 +687,8 @@ void ActiveGetProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -707,8 +707,8 @@ void ActiveGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -727,8 +727,8 @@ void ActiveGetProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -746,8 +746,8 @@ void ActiveGetProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -765,8 +765,8 @@ void ActiveGetProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -784,8 +784,8 @@ void ActiveGetProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -803,8 +803,8 @@ void ActiveGetProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -822,8 +822,8 @@ void ActiveGetProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -854,7 +854,7 @@ void ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveGetProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -869,7 +869,7 @@ Fw::InputCmdPort* ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -880,7 +880,7 @@ Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: } Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -891,7 +891,7 @@ Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveGetProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -902,7 +902,7 @@ Ports::InputNoArgsReturnPort* ActiveGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveGetProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -913,7 +913,7 @@ Ports::InputNoArgsReturnPort* ActiveGetProductsComponentBase :: } Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -924,7 +924,7 @@ Ports::InputNoArgsPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -935,7 +935,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -946,7 +946,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -957,7 +957,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -968,7 +968,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -979,7 +979,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveGetProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -990,7 +990,7 @@ Ports::InputTypedReturnPort* ActiveGetProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveGetProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1001,7 +1001,7 @@ Ports::InputTypedReturnPort* ActiveGetProductsComponentBase :: } Ports::InputTypedPort* ActiveGetProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1017,7 +1017,7 @@ Ports::InputTypedPort* ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1031,7 +1031,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1045,7 +1045,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1059,7 +1059,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1073,7 +1073,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1087,7 +1087,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpGetPort* port ) { @@ -1101,7 +1101,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1117,7 +1117,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1133,7 +1133,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1147,7 +1147,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1165,7 +1165,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1179,7 +1179,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1193,7 +1193,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1207,7 +1207,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1227,7 +1227,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1241,7 +1241,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1255,7 +1255,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1269,7 +1269,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1283,7 +1283,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1299,7 +1299,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1315,7 +1315,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1329,7 +1329,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1351,7 +1351,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1365,7 +1365,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1589,7 +1589,7 @@ NATIVE_INT_TYPE ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveGetProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1600,7 +1600,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1611,7 +1611,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1622,7 +1622,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1633,7 +1633,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1644,7 +1644,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_productGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productGetOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1668,7 +1668,7 @@ bool ActiveGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveGetProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1681,7 +1681,7 @@ bool ActiveGetProductsComponentBase :: #endif bool ActiveGetProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1692,7 +1692,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1707,7 +1707,7 @@ bool ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveGetProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1718,7 +1718,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1729,7 +1729,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1740,7 +1740,7 @@ bool ActiveGetProductsComponentBase :: } bool ActiveGetProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1757,7 +1757,7 @@ bool ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGetProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1797,7 +1797,7 @@ void ActiveGetProductsComponentBase :: } void ActiveGetProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1816,7 +1816,7 @@ void ActiveGetProductsComponentBase :: } U32 ActiveGetProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1839,7 +1839,7 @@ U32 ActiveGetProductsComponentBase :: } U32 ActiveGetProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1856,7 +1856,7 @@ U32 ActiveGetProductsComponentBase :: } void ActiveGetProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1870,7 +1870,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1977,7 +1977,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2084,7 +2084,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2191,7 +2191,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2303,7 +2303,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2340,7 +2340,7 @@ void ActiveGetProductsComponentBase :: F32 ActiveGetProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2381,7 +2381,7 @@ F32 ActiveGetProductsComponentBase :: F32 ActiveGetProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2416,7 +2416,7 @@ F32 ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2454,14 +2454,14 @@ void ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGetProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveGetProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2476,7 +2476,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2491,7 +2491,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2506,7 +2506,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2525,7 +2525,7 @@ void ActiveGetProductsComponentBase :: Fw::Success ActiveGetProductsComponentBase :: productGetOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -2544,7 +2544,7 @@ Fw::Success ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2564,7 +2564,7 @@ void ActiveGetProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGetProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2574,7 +2574,7 @@ void ActiveGetProductsComponentBase :: } U32 ActiveGetProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2585,7 +2585,7 @@ U32 ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2612,7 +2612,7 @@ void ActiveGetProductsComponentBase :: F32 ActiveGetProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2738,7 +2738,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGetProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3056,7 +3056,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3075,7 +3075,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3086,7 +3086,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3097,7 +3097,7 @@ void ActiveGetProductsComponentBase :: U32 ActiveGetProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3108,7 +3108,7 @@ U32 ActiveGetProductsComponentBase :: U32 ActiveGetProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3119,7 +3119,7 @@ U32 ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3130,7 +3130,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3157,7 +3157,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3184,7 +3184,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3211,7 +3211,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3238,7 +3238,7 @@ void ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3265,7 +3265,7 @@ void ActiveGetProductsComponentBase :: F32 ActiveGetProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3292,7 +3292,7 @@ F32 ActiveGetProductsComponentBase :: F32 ActiveGetProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3319,7 +3319,7 @@ F32 ActiveGetProductsComponentBase :: void ActiveGetProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp index f05daa32a..3af426d43 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp @@ -221,7 +221,7 @@ class ActiveGetProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -234,91 +234,91 @@ class ActiveGetProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -329,43 +329,43 @@ class ActiveGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productGetOut[portNum] void set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpGetPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -373,7 +373,7 @@ class ActiveGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -381,13 +381,13 @@ class ActiveGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -399,25 +399,25 @@ class ActiveGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -431,31 +431,31 @@ class ActiveGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -463,7 +463,7 @@ class ActiveGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -471,13 +471,13 @@ class ActiveGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -493,13 +493,13 @@ class ActiveGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -697,49 +697,49 @@ class ActiveGetProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productGetOut is connected //! //! \return Whether port productGetOut is connected bool isConnected_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -748,7 +748,7 @@ class ActiveGetProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -757,14 +757,14 @@ class ActiveGetProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -777,28 +777,28 @@ class ActiveGetProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -809,32 +809,32 @@ class ActiveGetProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -846,7 +846,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -858,7 +858,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -870,7 +870,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class ActiveGetProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -938,32 +938,32 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -975,7 +975,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -987,7 +987,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -999,7 +999,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class ActiveGetProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1069,12 +1069,12 @@ class ActiveGetProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1086,7 +1086,7 @@ class ActiveGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1098,7 +1098,7 @@ class ActiveGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1110,7 +1110,7 @@ class ActiveGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1128,7 +1128,7 @@ class ActiveGetProductsComponentBase : //! Invoke output port productGetOut Fw::Success productGetOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -1136,7 +1136,7 @@ class ActiveGetProductsComponentBase : //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1149,17 +1149,17 @@ class ActiveGetProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1171,7 +1171,7 @@ class ActiveGetProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1318,7 +1318,7 @@ class ActiveGetProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1333,37 +1333,37 @@ class ActiveGetProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1376,7 +1376,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1389,7 +1389,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1402,7 +1402,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1415,7 +1415,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class ActiveGetProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp index d55bbfe77..3567564b5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -285,8 +285,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -309,8 +309,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -357,8 +357,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -405,8 +405,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -429,8 +429,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -453,8 +453,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -501,8 +501,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -549,8 +549,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void ActiveGuardedProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -597,8 +597,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -616,8 +616,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -635,8 +635,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -654,8 +654,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -673,8 +673,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -692,8 +692,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -711,8 +711,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -731,8 +731,8 @@ void ActiveGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -751,8 +751,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -770,8 +770,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -789,8 +789,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -808,8 +808,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -827,8 +827,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -846,8 +846,8 @@ void ActiveGuardedProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -878,7 +878,7 @@ void ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveGuardedProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -889,7 +889,7 @@ Fw::InputCmdPort* ActiveGuardedProductsComponentBase :: } Fw::InputDpResponsePort* ActiveGuardedProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -904,7 +904,7 @@ Fw::InputDpResponsePort* ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -915,7 +915,7 @@ Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: } Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -926,7 +926,7 @@ Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveGuardedProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -937,7 +937,7 @@ Ports::InputNoArgsReturnPort* ActiveGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveGuardedProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -948,7 +948,7 @@ Ports::InputNoArgsReturnPort* ActiveGuardedProductsComponentBase :: } Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -959,7 +959,7 @@ Ports::InputNoArgsPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -970,7 +970,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -981,7 +981,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -992,7 +992,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1003,7 +1003,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1014,7 +1014,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveGuardedProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1025,7 +1025,7 @@ Ports::InputTypedReturnPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveGuardedProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1036,7 +1036,7 @@ Ports::InputTypedReturnPort* ActiveGuardedProductsComponentBase :: } Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1052,7 +1052,7 @@ Ports::InputTypedPort* ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1066,7 +1066,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1080,7 +1080,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1094,7 +1094,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1108,7 +1108,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1122,7 +1122,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1136,7 +1136,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1152,7 +1152,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1168,7 +1168,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1182,7 +1182,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1200,7 +1200,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1214,7 +1214,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1228,7 +1228,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1242,7 +1242,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1262,7 +1262,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1276,7 +1276,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1290,7 +1290,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1304,7 +1304,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1318,7 +1318,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1332,7 +1332,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1348,7 +1348,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1364,7 +1364,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1378,7 +1378,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1400,7 +1400,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1414,7 +1414,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1644,7 +1644,7 @@ NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveGuardedProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1666,7 +1666,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1677,7 +1677,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1688,7 +1688,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1699,7 +1699,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1710,7 +1710,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1723,7 +1723,7 @@ bool ActiveGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveGuardedProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1736,7 +1736,7 @@ bool ActiveGuardedProductsComponentBase :: #endif bool ActiveGuardedProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1747,7 +1747,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1762,7 +1762,7 @@ bool ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveGuardedProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1773,7 +1773,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1784,7 +1784,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1795,7 +1795,7 @@ bool ActiveGuardedProductsComponentBase :: } bool ActiveGuardedProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1813,7 +1813,7 @@ bool ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1847,7 +1847,7 @@ void ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGuardedProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1887,7 +1887,7 @@ void ActiveGuardedProductsComponentBase :: } void ActiveGuardedProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1906,7 +1906,7 @@ void ActiveGuardedProductsComponentBase :: } U32 ActiveGuardedProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1929,7 +1929,7 @@ U32 ActiveGuardedProductsComponentBase :: } U32 ActiveGuardedProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1946,7 +1946,7 @@ U32 ActiveGuardedProductsComponentBase :: } void ActiveGuardedProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1960,7 +1960,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2067,7 +2067,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2174,7 +2174,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2281,7 +2281,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2393,7 +2393,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2430,7 +2430,7 @@ void ActiveGuardedProductsComponentBase :: F32 ActiveGuardedProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2471,7 +2471,7 @@ F32 ActiveGuardedProductsComponentBase :: F32 ActiveGuardedProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2506,7 +2506,7 @@ F32 ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2545,7 +2545,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2563,14 +2563,14 @@ void ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGuardedProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveGuardedProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2585,7 +2585,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2600,7 +2600,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2615,7 +2615,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2634,7 +2634,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2651,7 +2651,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2671,7 +2671,7 @@ void ActiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveGuardedProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2681,7 +2681,7 @@ void ActiveGuardedProductsComponentBase :: } U32 ActiveGuardedProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2692,7 +2692,7 @@ U32 ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2719,7 +2719,7 @@ void ActiveGuardedProductsComponentBase :: F32 ActiveGuardedProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2845,7 +2845,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGuardedProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3163,7 +3163,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3178,7 +3178,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3201,7 +3201,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3212,7 +3212,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3223,7 +3223,7 @@ void ActiveGuardedProductsComponentBase :: U32 ActiveGuardedProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3234,7 +3234,7 @@ U32 ActiveGuardedProductsComponentBase :: U32 ActiveGuardedProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3245,7 +3245,7 @@ U32 ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3256,7 +3256,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3283,7 +3283,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3310,7 +3310,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3337,7 +3337,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3364,7 +3364,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3391,7 +3391,7 @@ void ActiveGuardedProductsComponentBase :: F32 ActiveGuardedProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3418,7 +3418,7 @@ F32 ActiveGuardedProductsComponentBase :: F32 ActiveGuardedProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3445,7 +3445,7 @@ F32 ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3486,7 +3486,7 @@ void ActiveGuardedProductsComponentBase :: void ActiveGuardedProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp index bbc9c7498..f8990449a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class ActiveGuardedProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class ActiveGuardedProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class ActiveGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class ActiveGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class ActiveGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class ActiveGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class ActiveGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class ActiveGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class ActiveGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class ActiveGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class ActiveGuardedProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class ActiveGuardedProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class ActiveGuardedProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class ActiveGuardedProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class ActiveGuardedProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class ActiveGuardedProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class ActiveGuardedProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class ActiveGuardedProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class ActiveGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class ActiveGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class ActiveGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class ActiveGuardedProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class ActiveGuardedProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class ActiveGuardedProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class ActiveGuardedProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class ActiveGuardedProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class ActiveGuardedProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp index f5c996219..194336925 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp @@ -30,10 +30,10 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -67,8 +67,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -91,8 +91,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -115,8 +115,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -139,8 +139,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -163,8 +163,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -182,8 +182,8 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -214,7 +214,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -225,7 +225,7 @@ Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -236,7 +236,7 @@ Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsReturnPort* ActiveNoArgsPortsOnlyComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -247,7 +247,7 @@ Ports::InputNoArgsReturnPort* ActiveNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsReturnPort* ActiveNoArgsPortsOnlyComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -263,7 +263,7 @@ Ports::InputNoArgsReturnPort* ActiveNoArgsPortsOnlyComponentBase :: void ActiveNoArgsPortsOnlyComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -277,7 +277,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: void ActiveNoArgsPortsOnlyComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -297,7 +297,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: void ActiveNoArgsPortsOnlyComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -377,7 +377,7 @@ NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool ActiveNoArgsPortsOnlyComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -388,7 +388,7 @@ bool ActiveNoArgsPortsOnlyComponentBase :: } bool ActiveNoArgsPortsOnlyComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -405,7 +405,7 @@ bool ActiveNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -445,7 +445,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: } void ActiveNoArgsPortsOnlyComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -464,7 +464,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: } U32 ActiveNoArgsPortsOnlyComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -487,7 +487,7 @@ U32 ActiveNoArgsPortsOnlyComponentBase :: } U32 ActiveNoArgsPortsOnlyComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -512,7 +512,7 @@ U32 ActiveNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } @@ -522,7 +522,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -532,7 +532,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: } U32 ActiveNoArgsPortsOnlyComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -596,7 +596,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveNoArgsPortsOnlyComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -626,7 +626,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveNoArgsPortsOnlyComponentBase :: void ActiveNoArgsPortsOnlyComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -637,7 +637,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: void ActiveNoArgsPortsOnlyComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -648,7 +648,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: U32 ActiveNoArgsPortsOnlyComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -659,7 +659,7 @@ U32 ActiveNoArgsPortsOnlyComponentBase :: U32 ActiveNoArgsPortsOnlyComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp index babef3b55..e5c756aa7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp @@ -72,28 +72,28 @@ class ActiveNoArgsPortsOnlyComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -104,13 +104,13 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); @@ -124,7 +124,7 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -196,14 +196,14 @@ class ActiveNoArgsPortsOnlyComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -214,22 +214,22 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; PROTECTED: @@ -242,22 +242,22 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -272,7 +272,7 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -283,12 +283,12 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -324,25 +324,25 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp index 6c9148966..e7256c531 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void ActiveParamsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void ActiveParamsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void ActiveParamsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void ActiveParamsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void ActiveParamsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void ActiveParamsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void ActiveParamsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void ActiveParamsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void ActiveParamsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void ActiveParamsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void ActiveParamsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void ActiveParamsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void ActiveParamsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void ActiveParamsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void ActiveParamsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void ActiveParamsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void ActiveParamsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void ActiveParamsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void ActiveParamsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void ActiveParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void ActiveParamsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void ActiveParamsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void ActiveParamsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void ActiveParamsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void ActiveParamsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void ActiveParamsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void ActiveParamsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveParamsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* ActiveParamsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveParamsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* ActiveParamsComponentBase :: } Ports::InputNoArgsPort* ActiveParamsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* ActiveParamsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveParamsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* ActiveParamsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveParamsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* ActiveParamsComponentBase :: } Ports::InputNoArgsPort* ActiveParamsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: } Ports::InputTypedReturnPort* ActiveParamsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* ActiveParamsComponentBase :: } Ports::InputTypedReturnPort* ActiveParamsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* ActiveParamsComponentBase :: } Ports::InputTypedPort* ActiveParamsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1580,7 +1580,7 @@ NATIVE_INT_TYPE ActiveParamsComponentBase :: // ---------------------------------------------------------------------- bool ActiveParamsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1591,7 +1591,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1602,7 +1602,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1613,7 +1613,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1624,7 +1624,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1637,7 +1637,7 @@ bool ActiveParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveParamsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1650,7 +1650,7 @@ bool ActiveParamsComponentBase :: #endif bool ActiveParamsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1661,7 +1661,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1676,7 +1676,7 @@ bool ActiveParamsComponentBase :: // ---------------------------------------------------------------------- bool ActiveParamsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1687,7 +1687,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1698,7 +1698,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1709,7 +1709,7 @@ bool ActiveParamsComponentBase :: } bool ActiveParamsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1726,7 +1726,7 @@ bool ActiveParamsComponentBase :: // ---------------------------------------------------------------------- void ActiveParamsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1766,7 +1766,7 @@ void ActiveParamsComponentBase :: } void ActiveParamsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1785,7 +1785,7 @@ void ActiveParamsComponentBase :: } U32 ActiveParamsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1808,7 +1808,7 @@ U32 ActiveParamsComponentBase :: } U32 ActiveParamsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1825,7 +1825,7 @@ U32 ActiveParamsComponentBase :: } void ActiveParamsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1839,7 +1839,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1946,7 +1946,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2053,7 +2053,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2160,7 +2160,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2272,7 +2272,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2309,7 +2309,7 @@ void ActiveParamsComponentBase :: F32 ActiveParamsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2350,7 +2350,7 @@ F32 ActiveParamsComponentBase :: F32 ActiveParamsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2385,7 +2385,7 @@ F32 ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2423,14 +2423,14 @@ void ActiveParamsComponentBase :: // ---------------------------------------------------------------------- void ActiveParamsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveParamsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2445,7 +2445,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2460,7 +2460,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2475,7 +2475,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2493,7 +2493,7 @@ void ActiveParamsComponentBase :: // ---------------------------------------------------------------------- void ActiveParamsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2503,7 +2503,7 @@ void ActiveParamsComponentBase :: } U32 ActiveParamsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2514,7 +2514,7 @@ U32 ActiveParamsComponentBase :: void ActiveParamsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2541,7 +2541,7 @@ void ActiveParamsComponentBase :: F32 ActiveParamsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2739,7 +2739,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveParamsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3057,7 +3057,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3200,7 +3200,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3211,7 +3211,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3222,7 +3222,7 @@ void ActiveParamsComponentBase :: U32 ActiveParamsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3233,7 +3233,7 @@ U32 ActiveParamsComponentBase :: U32 ActiveParamsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3244,7 +3244,7 @@ U32 ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3255,7 +3255,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3282,7 +3282,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3309,7 +3309,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3336,7 +3336,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3363,7 +3363,7 @@ void ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3390,7 +3390,7 @@ void ActiveParamsComponentBase :: F32 ActiveParamsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3417,7 +3417,7 @@ F32 ActiveParamsComponentBase :: F32 ActiveParamsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3444,7 +3444,7 @@ F32 ActiveParamsComponentBase :: void ActiveParamsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp index 62d91e9bc..09a89e73d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp @@ -145,7 +145,7 @@ class ActiveParamsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -158,91 +158,91 @@ class ActiveParamsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -253,31 +253,31 @@ class ActiveParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -285,7 +285,7 @@ class ActiveParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -293,13 +293,13 @@ class ActiveParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -311,25 +311,25 @@ class ActiveParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -343,25 +343,25 @@ class ActiveParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -369,7 +369,7 @@ class ActiveParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -377,13 +377,13 @@ class ActiveParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -399,13 +399,13 @@ class ActiveParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -615,35 +615,35 @@ class ActiveParamsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -652,7 +652,7 @@ class ActiveParamsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -661,14 +661,14 @@ class ActiveParamsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -681,28 +681,28 @@ class ActiveParamsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -713,32 +713,32 @@ class ActiveParamsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -750,7 +750,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -762,7 +762,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -774,7 +774,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -786,7 +786,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -798,7 +798,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -810,7 +810,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -822,7 +822,7 @@ class ActiveParamsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -842,32 +842,32 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -879,7 +879,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -891,7 +891,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -903,7 +903,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -915,7 +915,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -927,7 +927,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -939,7 +939,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -951,7 +951,7 @@ class ActiveParamsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -973,12 +973,12 @@ class ActiveParamsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -990,7 +990,7 @@ class ActiveParamsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1002,7 +1002,7 @@ class ActiveParamsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1014,7 +1014,7 @@ class ActiveParamsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1032,17 +1032,17 @@ class ActiveParamsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1054,7 +1054,7 @@ class ActiveParamsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1204,7 +1204,7 @@ class ActiveParamsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1219,37 +1219,37 @@ class ActiveParamsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1262,7 +1262,7 @@ class ActiveParamsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1275,7 +1275,7 @@ class ActiveParamsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1288,7 +1288,7 @@ class ActiveParamsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1301,7 +1301,7 @@ class ActiveParamsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1314,7 +1314,7 @@ class ActiveParamsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1327,7 +1327,7 @@ class ActiveParamsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1340,7 +1340,7 @@ class ActiveParamsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index 4850001ea..3698d02e4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -83,10 +83,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -121,8 +121,8 @@ void ActiveSerialComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -145,8 +145,8 @@ void ActiveSerialComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -169,8 +169,8 @@ void ActiveSerialComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -193,8 +193,8 @@ void ActiveSerialComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -217,8 +217,8 @@ void ActiveSerialComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -241,8 +241,8 @@ void ActiveSerialComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -265,8 +265,8 @@ void ActiveSerialComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -289,8 +289,8 @@ void ActiveSerialComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -313,8 +313,8 @@ void ActiveSerialComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -337,8 +337,8 @@ void ActiveSerialComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -361,8 +361,8 @@ void ActiveSerialComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -385,8 +385,8 @@ void ActiveSerialComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -409,8 +409,8 @@ void ActiveSerialComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -433,8 +433,8 @@ void ActiveSerialComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -457,8 +457,8 @@ void ActiveSerialComponentBase :: // Connect input port serialAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsync_InputPorts()); port++ ) { this->m_serialAsync_InputPort[port].init(); @@ -481,8 +481,8 @@ void ActiveSerialComponentBase :: // Connect input port serialAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncAssert_InputPorts()); port++ ) { this->m_serialAsyncAssert_InputPort[port].init(); @@ -505,8 +505,8 @@ void ActiveSerialComponentBase :: // Connect input port serialAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncBlockPriority_InputPorts()); port++ ) { this->m_serialAsyncBlockPriority_InputPort[port].init(); @@ -529,8 +529,8 @@ void ActiveSerialComponentBase :: // Connect input port serialAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncDropPriority_InputPorts()); port++ ) { this->m_serialAsyncDropPriority_InputPort[port].init(); @@ -553,8 +553,8 @@ void ActiveSerialComponentBase :: // Connect input port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialGuarded_InputPorts()); port++ ) { this->m_serialGuarded_InputPort[port].init(); @@ -577,8 +577,8 @@ void ActiveSerialComponentBase :: // Connect input port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialSync_InputPorts()); port++ ) { this->m_serialSync_InputPort[port].init(); @@ -601,8 +601,8 @@ void ActiveSerialComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -620,8 +620,8 @@ void ActiveSerialComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -639,8 +639,8 @@ void ActiveSerialComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -658,8 +658,8 @@ void ActiveSerialComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -677,8 +677,8 @@ void ActiveSerialComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -697,8 +697,8 @@ void ActiveSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -717,8 +717,8 @@ void ActiveSerialComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -736,8 +736,8 @@ void ActiveSerialComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -755,8 +755,8 @@ void ActiveSerialComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -774,8 +774,8 @@ void ActiveSerialComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -793,8 +793,8 @@ void ActiveSerialComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -812,8 +812,8 @@ void ActiveSerialComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -831,8 +831,8 @@ void ActiveSerialComponentBase :: // Connect output port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialOut_OutputPorts()); port++ ) { this->m_serialOut_OutputPort[port].init(); @@ -852,7 +852,7 @@ void ActiveSerialComponentBase :: // NATIVE_INT_TYPE cast because of compiler warning. this->m_msgSize = FW_MAX( msgSize + - static_cast(sizeof(NATIVE_INT_TYPE)) + + static_cast(sizeof(FwIndexType)) + static_cast(sizeof(I32)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -869,7 +869,7 @@ void ActiveSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveSerialComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -884,7 +884,7 @@ Fw::InputCmdPort* ActiveSerialComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveSerialComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -895,7 +895,7 @@ Ports::InputNoArgsPort* ActiveSerialComponentBase :: } Ports::InputNoArgsPort* ActiveSerialComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -906,7 +906,7 @@ Ports::InputNoArgsPort* ActiveSerialComponentBase :: } Ports::InputNoArgsReturnPort* ActiveSerialComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -917,7 +917,7 @@ Ports::InputNoArgsReturnPort* ActiveSerialComponentBase :: } Ports::InputNoArgsReturnPort* ActiveSerialComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -928,7 +928,7 @@ Ports::InputNoArgsReturnPort* ActiveSerialComponentBase :: } Ports::InputNoArgsPort* ActiveSerialComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -939,7 +939,7 @@ Ports::InputNoArgsPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -950,7 +950,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -961,7 +961,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -972,7 +972,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -983,7 +983,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -994,7 +994,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: } Ports::InputTypedReturnPort* ActiveSerialComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1005,7 +1005,7 @@ Ports::InputTypedReturnPort* ActiveSerialComponentBase :: } Ports::InputTypedReturnPort* ActiveSerialComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1016,7 +1016,7 @@ Ports::InputTypedReturnPort* ActiveSerialComponentBase :: } Ports::InputTypedPort* ActiveSerialComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1031,7 +1031,7 @@ Ports::InputTypedPort* ActiveSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialAsync_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsync_InputPorts(), @@ -1042,7 +1042,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: } Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncAssert_InputPorts(), @@ -1053,7 +1053,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: } Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncBlockPriority_InputPorts(), @@ -1064,7 +1064,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: } Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncDropPriority_InputPorts(), @@ -1075,7 +1075,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: } Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_serialGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialGuarded_InputPorts(), @@ -1086,7 +1086,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: } Fw::InputSerializePort* ActiveSerialComponentBase :: - get_serialSync_InputPort(NATIVE_INT_TYPE portNum) + get_serialSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialSync_InputPorts(), @@ -1102,7 +1102,7 @@ Fw::InputSerializePort* ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1116,7 +1116,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1130,7 +1130,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1144,7 +1144,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1158,7 +1158,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1174,7 +1174,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1190,7 +1190,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1204,7 +1204,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1222,7 +1222,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1236,7 +1236,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1250,7 +1250,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1264,7 +1264,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1284,7 +1284,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1298,7 +1298,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1312,7 +1312,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1326,7 +1326,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1342,7 +1342,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1358,7 +1358,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1372,7 +1372,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1394,7 +1394,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1408,7 +1408,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1430,7 +1430,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPortBase* port ) { @@ -2009,7 +2009,7 @@ NATIVE_INT_TYPE ActiveSerialComponentBase :: // ---------------------------------------------------------------------- bool ActiveSerialComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -2020,7 +2020,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -2031,7 +2031,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -2042,7 +2042,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -2053,7 +2053,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -2066,7 +2066,7 @@ bool ActiveSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveSerialComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -2079,7 +2079,7 @@ bool ActiveSerialComponentBase :: #endif bool ActiveSerialComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -2090,7 +2090,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -2105,7 +2105,7 @@ bool ActiveSerialComponentBase :: // ---------------------------------------------------------------------- bool ActiveSerialComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2116,7 +2116,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2127,7 +2127,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -2138,7 +2138,7 @@ bool ActiveSerialComponentBase :: } bool ActiveSerialComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -2153,7 +2153,7 @@ bool ActiveSerialComponentBase :: // ---------------------------------------------------------------------- bool ActiveSerialComponentBase :: - isConnected_serialOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_serialOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialOut_OutputPorts(), @@ -2170,7 +2170,7 @@ bool ActiveSerialComponentBase :: // ---------------------------------------------------------------------- void ActiveSerialComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2210,7 +2210,7 @@ void ActiveSerialComponentBase :: } void ActiveSerialComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2229,7 +2229,7 @@ void ActiveSerialComponentBase :: } U32 ActiveSerialComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2252,7 +2252,7 @@ U32 ActiveSerialComponentBase :: } U32 ActiveSerialComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2269,7 +2269,7 @@ U32 ActiveSerialComponentBase :: } void ActiveSerialComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2283,7 +2283,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2390,7 +2390,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2497,7 +2497,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2604,7 +2604,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2716,7 +2716,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2753,7 +2753,7 @@ void ActiveSerialComponentBase :: F32 ActiveSerialComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2794,7 +2794,7 @@ F32 ActiveSerialComponentBase :: F32 ActiveSerialComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2829,7 +2829,7 @@ F32 ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2866,7 +2866,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -2916,7 +2916,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -2966,7 +2966,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3016,7 +3016,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3071,7 +3071,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3096,7 +3096,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3122,14 +3122,14 @@ void ActiveSerialComponentBase :: // ---------------------------------------------------------------------- void ActiveSerialComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveSerialComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3144,7 +3144,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3159,7 +3159,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3174,7 +3174,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3197,7 +3197,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3206,7 +3206,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3215,7 +3215,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3224,7 +3224,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: serialAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3236,7 +3236,7 @@ void ActiveSerialComponentBase :: // ---------------------------------------------------------------------- void ActiveSerialComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -3246,7 +3246,7 @@ void ActiveSerialComponentBase :: } U32 ActiveSerialComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -3257,7 +3257,7 @@ U32 ActiveSerialComponentBase :: void ActiveSerialComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3284,7 +3284,7 @@ void ActiveSerialComponentBase :: F32 ActiveSerialComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3315,7 +3315,7 @@ F32 ActiveSerialComponentBase :: Fw::SerializeStatus ActiveSerialComponentBase :: serialOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3346,7 +3346,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3382,7 +3382,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3422,7 +3422,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3470,7 +3470,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3508,7 +3508,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3550,7 +3550,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4249,7 +4249,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4308,7 +4308,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4367,7 +4367,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4426,7 +4426,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4490,7 +4490,7 @@ void ActiveSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -5845,7 +5845,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSerialComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -6669,7 +6669,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -6965,7 +6965,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6976,7 +6976,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6987,7 +6987,7 @@ void ActiveSerialComponentBase :: U32 ActiveSerialComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6998,7 +6998,7 @@ U32 ActiveSerialComponentBase :: U32 ActiveSerialComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -7009,7 +7009,7 @@ U32 ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -7020,7 +7020,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7047,7 +7047,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7074,7 +7074,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7101,7 +7101,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7128,7 +7128,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7155,7 +7155,7 @@ void ActiveSerialComponentBase :: F32 ActiveSerialComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7182,7 +7182,7 @@ F32 ActiveSerialComponentBase :: F32 ActiveSerialComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7209,7 +7209,7 @@ F32 ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7242,7 +7242,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7257,7 +7257,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7272,7 +7272,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7287,7 +7287,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7302,7 +7302,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7317,7 +7317,7 @@ void ActiveSerialComponentBase :: void ActiveSerialComponentBase :: m_p_serialSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index 4e5f434ed..8d894a765 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -219,7 +219,7 @@ class ActiveSerialComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -232,91 +232,91 @@ class ActiveSerialComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -329,42 +329,42 @@ class ActiveSerialComponentBase : //! //! \return serialAsync[portNum] Fw::InputSerializePort* get_serialAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncAssert[portNum] Fw::InputSerializePort* get_serialAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncBlockPriority[portNum] Fw::InputSerializePort* get_serialAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncDropPriority[portNum] Fw::InputSerializePort* get_serialAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialGuarded[portNum] Fw::InputSerializePort* get_serialGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialSync[portNum] Fw::InputSerializePort* get_serialSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -375,31 +375,31 @@ class ActiveSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -407,7 +407,7 @@ class ActiveSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -415,13 +415,13 @@ class ActiveSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -433,25 +433,25 @@ class ActiveSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -465,25 +465,25 @@ class ActiveSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -491,7 +491,7 @@ class ActiveSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -499,13 +499,13 @@ class ActiveSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -521,13 +521,13 @@ class ActiveSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -543,7 +543,7 @@ class ActiveSerialComponentBase : //! Connect port to serialOut[portNum] void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPortBase* port //!< The port ); @@ -800,35 +800,35 @@ class ActiveSerialComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -837,7 +837,7 @@ class ActiveSerialComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -846,14 +846,14 @@ class ActiveSerialComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -866,28 +866,28 @@ class ActiveSerialComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -900,7 +900,7 @@ class ActiveSerialComponentBase : //! //! \return Whether port serialOut is connected bool isConnected_serialOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -911,32 +911,32 @@ class ActiveSerialComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -948,7 +948,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -960,7 +960,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -972,7 +972,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -984,7 +984,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -996,7 +996,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1008,7 +1008,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1020,7 +1020,7 @@ class ActiveSerialComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1040,32 +1040,32 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1077,7 +1077,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1089,7 +1089,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1101,7 +1101,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1113,7 +1113,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1125,7 +1125,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1137,7 +1137,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1149,7 +1149,7 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1167,37 +1167,37 @@ class ActiveSerialComponentBase : //! Handler for input port serialAsync virtual void serialAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncAssert virtual void serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncBlockPriority virtual void serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncDropPriority virtual void serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialGuarded virtual void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialSync virtual void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -1211,37 +1211,37 @@ class ActiveSerialComponentBase : //! Handler base-class function for input port serialAsync void serialAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncAssert void serialAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncBlockPriority void serialAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncDropPriority void serialAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialGuarded void serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialSync void serialSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -1257,12 +1257,12 @@ class ActiveSerialComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1274,7 +1274,7 @@ class ActiveSerialComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1286,7 +1286,7 @@ class ActiveSerialComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1298,7 +1298,7 @@ class ActiveSerialComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1320,25 +1320,25 @@ class ActiveSerialComponentBase : //! Pre-message hook for async input port serialAsync virtual void serialAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncAssert virtual void serialAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncBlockPriority virtual void serialAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncDropPriority virtual void serialAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -1350,17 +1350,17 @@ class ActiveSerialComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1372,7 +1372,7 @@ class ActiveSerialComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1390,7 +1390,7 @@ class ActiveSerialComponentBase : //! Invoke output port serialOut Fw::SerializeStatus serialOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -2132,7 +2132,7 @@ class ActiveSerialComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -2147,37 +2147,37 @@ class ActiveSerialComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2190,7 +2190,7 @@ class ActiveSerialComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2203,7 +2203,7 @@ class ActiveSerialComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2216,7 +2216,7 @@ class ActiveSerialComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2229,7 +2229,7 @@ class ActiveSerialComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2242,7 +2242,7 @@ class ActiveSerialComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2255,7 +2255,7 @@ class ActiveSerialComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2268,7 +2268,7 @@ class ActiveSerialComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2289,42 +2289,42 @@ class ActiveSerialComponentBase : //! Callback for port serialAsync static void m_p_serialAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncAssert static void m_p_serialAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncBlockPriority static void m_p_serialAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncDropPriority static void m_p_serialAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialGuarded static void m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialSync static void m_p_serialSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp index 52b9f954d..de04e8724 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -285,8 +285,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -309,8 +309,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -357,8 +357,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -405,8 +405,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -429,8 +429,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -453,8 +453,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -501,8 +501,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -549,8 +549,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void ActiveSyncProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -597,8 +597,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -616,8 +616,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -635,8 +635,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -654,8 +654,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -673,8 +673,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -692,8 +692,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -711,8 +711,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -731,8 +731,8 @@ void ActiveSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -751,8 +751,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -770,8 +770,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -789,8 +789,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -808,8 +808,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -827,8 +827,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -846,8 +846,8 @@ void ActiveSyncProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -878,7 +878,7 @@ void ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveSyncProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -889,7 +889,7 @@ Fw::InputCmdPort* ActiveSyncProductsComponentBase :: } Fw::InputDpResponsePort* ActiveSyncProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -904,7 +904,7 @@ Fw::InputDpResponsePort* ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -915,7 +915,7 @@ Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: } Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -926,7 +926,7 @@ Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveSyncProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -937,7 +937,7 @@ Ports::InputNoArgsReturnPort* ActiveSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* ActiveSyncProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -948,7 +948,7 @@ Ports::InputNoArgsReturnPort* ActiveSyncProductsComponentBase :: } Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -959,7 +959,7 @@ Ports::InputNoArgsPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -970,7 +970,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -981,7 +981,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -992,7 +992,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1003,7 +1003,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1014,7 +1014,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveSyncProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1025,7 +1025,7 @@ Ports::InputTypedReturnPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedReturnPort* ActiveSyncProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1036,7 +1036,7 @@ Ports::InputTypedReturnPort* ActiveSyncProductsComponentBase :: } Ports::InputTypedPort* ActiveSyncProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1052,7 +1052,7 @@ Ports::InputTypedPort* ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1066,7 +1066,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1080,7 +1080,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1094,7 +1094,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1108,7 +1108,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1122,7 +1122,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1136,7 +1136,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1152,7 +1152,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1168,7 +1168,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1182,7 +1182,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1200,7 +1200,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1214,7 +1214,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1228,7 +1228,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1242,7 +1242,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1262,7 +1262,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1276,7 +1276,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1290,7 +1290,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1304,7 +1304,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1318,7 +1318,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1332,7 +1332,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1348,7 +1348,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1364,7 +1364,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1378,7 +1378,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1400,7 +1400,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1414,7 +1414,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1644,7 +1644,7 @@ NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveSyncProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1666,7 +1666,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1677,7 +1677,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1688,7 +1688,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1699,7 +1699,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1710,7 +1710,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1723,7 +1723,7 @@ bool ActiveSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveSyncProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1736,7 +1736,7 @@ bool ActiveSyncProductsComponentBase :: #endif bool ActiveSyncProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1747,7 +1747,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1762,7 +1762,7 @@ bool ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool ActiveSyncProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1773,7 +1773,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1784,7 +1784,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1795,7 +1795,7 @@ bool ActiveSyncProductsComponentBase :: } bool ActiveSyncProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1813,7 +1813,7 @@ bool ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1841,7 +1841,7 @@ void ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveSyncProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1881,7 +1881,7 @@ void ActiveSyncProductsComponentBase :: } void ActiveSyncProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1900,7 +1900,7 @@ void ActiveSyncProductsComponentBase :: } U32 ActiveSyncProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1923,7 +1923,7 @@ U32 ActiveSyncProductsComponentBase :: } U32 ActiveSyncProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1940,7 +1940,7 @@ U32 ActiveSyncProductsComponentBase :: } void ActiveSyncProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1954,7 +1954,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2061,7 +2061,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2168,7 +2168,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2275,7 +2275,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2387,7 +2387,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2424,7 +2424,7 @@ void ActiveSyncProductsComponentBase :: F32 ActiveSyncProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2465,7 +2465,7 @@ F32 ActiveSyncProductsComponentBase :: F32 ActiveSyncProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2500,7 +2500,7 @@ F32 ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2539,7 +2539,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2557,14 +2557,14 @@ void ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveSyncProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveSyncProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2579,7 +2579,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2594,7 +2594,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2609,7 +2609,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2628,7 +2628,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2645,7 +2645,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2665,7 +2665,7 @@ void ActiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- void ActiveSyncProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2675,7 +2675,7 @@ void ActiveSyncProductsComponentBase :: } U32 ActiveSyncProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2686,7 +2686,7 @@ U32 ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2713,7 +2713,7 @@ void ActiveSyncProductsComponentBase :: F32 ActiveSyncProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2839,7 +2839,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSyncProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3157,7 +3157,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3172,7 +3172,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3195,7 +3195,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3206,7 +3206,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3217,7 +3217,7 @@ void ActiveSyncProductsComponentBase :: U32 ActiveSyncProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3228,7 +3228,7 @@ U32 ActiveSyncProductsComponentBase :: U32 ActiveSyncProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3239,7 +3239,7 @@ U32 ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3250,7 +3250,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3277,7 +3277,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3304,7 +3304,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3331,7 +3331,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3358,7 +3358,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3385,7 +3385,7 @@ void ActiveSyncProductsComponentBase :: F32 ActiveSyncProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3412,7 +3412,7 @@ F32 ActiveSyncProductsComponentBase :: F32 ActiveSyncProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3439,7 +3439,7 @@ F32 ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3480,7 +3480,7 @@ void ActiveSyncProductsComponentBase :: void ActiveSyncProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp index 7a478ed8c..977b9c153 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class ActiveSyncProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class ActiveSyncProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class ActiveSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class ActiveSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class ActiveSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class ActiveSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class ActiveSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class ActiveSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class ActiveSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class ActiveSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class ActiveSyncProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class ActiveSyncProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class ActiveSyncProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class ActiveSyncProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class ActiveSyncProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class ActiveSyncProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class ActiveSyncProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class ActiveSyncProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class ActiveSyncProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class ActiveSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class ActiveSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class ActiveSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class ActiveSyncProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class ActiveSyncProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class ActiveSyncProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class ActiveSyncProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class ActiveSyncProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class ActiveSyncProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp index fff232bf0..39d070128 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void ActiveTelemetryComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void ActiveTelemetryComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void ActiveTelemetryComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void ActiveTelemetryComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void ActiveTelemetryComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void ActiveTelemetryComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void ActiveTelemetryComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void ActiveTelemetryComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void ActiveTelemetryComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void ActiveTelemetryComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void ActiveTelemetryComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void ActiveTelemetryComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void ActiveTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void ActiveTelemetryComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void ActiveTelemetryComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void ActiveTelemetryComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void ActiveTelemetryComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void ActiveTelemetryComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void ActiveTelemetryComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveTelemetryComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: } Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* ActiveTelemetryComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* ActiveTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* ActiveTelemetryComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* ActiveTelemetryComponentBase :: } Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: } Ports::InputTypedReturnPort* ActiveTelemetryComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* ActiveTelemetryComponentBase :: } Ports::InputTypedReturnPort* ActiveTelemetryComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* ActiveTelemetryComponentBase :: } Ports::InputTypedPort* ActiveTelemetryComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1347,7 +1347,7 @@ NATIVE_INT_TYPE ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- bool ActiveTelemetryComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1358,7 +1358,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1369,7 +1369,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1380,7 +1380,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1391,7 +1391,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1404,7 +1404,7 @@ bool ActiveTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveTelemetryComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1417,7 +1417,7 @@ bool ActiveTelemetryComponentBase :: #endif bool ActiveTelemetryComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1428,7 +1428,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1443,7 +1443,7 @@ bool ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- bool ActiveTelemetryComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1454,7 +1454,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1465,7 +1465,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1476,7 +1476,7 @@ bool ActiveTelemetryComponentBase :: } bool ActiveTelemetryComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1493,7 +1493,7 @@ bool ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- void ActiveTelemetryComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1533,7 +1533,7 @@ void ActiveTelemetryComponentBase :: } void ActiveTelemetryComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1552,7 +1552,7 @@ void ActiveTelemetryComponentBase :: } U32 ActiveTelemetryComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1575,7 +1575,7 @@ U32 ActiveTelemetryComponentBase :: } U32 ActiveTelemetryComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1592,7 +1592,7 @@ U32 ActiveTelemetryComponentBase :: } void ActiveTelemetryComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1606,7 +1606,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1713,7 +1713,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1820,7 +1820,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1927,7 +1927,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2039,7 +2039,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2076,7 +2076,7 @@ void ActiveTelemetryComponentBase :: F32 ActiveTelemetryComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2117,7 +2117,7 @@ F32 ActiveTelemetryComponentBase :: F32 ActiveTelemetryComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2152,7 +2152,7 @@ F32 ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2190,14 +2190,14 @@ void ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- void ActiveTelemetryComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveTelemetryComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2212,7 +2212,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2227,7 +2227,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2242,7 +2242,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2260,7 +2260,7 @@ void ActiveTelemetryComponentBase :: // ---------------------------------------------------------------------- void ActiveTelemetryComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2270,7 +2270,7 @@ void ActiveTelemetryComponentBase :: } U32 ActiveTelemetryComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2281,7 +2281,7 @@ U32 ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2308,7 +2308,7 @@ void ActiveTelemetryComponentBase :: F32 ActiveTelemetryComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2802,7 +2802,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveTelemetryComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3120,7 +3120,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3139,7 +3139,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3150,7 +3150,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3161,7 +3161,7 @@ void ActiveTelemetryComponentBase :: U32 ActiveTelemetryComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3172,7 +3172,7 @@ U32 ActiveTelemetryComponentBase :: U32 ActiveTelemetryComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3183,7 +3183,7 @@ U32 ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3194,7 +3194,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3221,7 +3221,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3248,7 +3248,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3275,7 +3275,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3302,7 +3302,7 @@ void ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3329,7 +3329,7 @@ void ActiveTelemetryComponentBase :: F32 ActiveTelemetryComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3356,7 +3356,7 @@ F32 ActiveTelemetryComponentBase :: F32 ActiveTelemetryComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3383,7 +3383,7 @@ F32 ActiveTelemetryComponentBase :: void ActiveTelemetryComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp index 2c8a5dd0f..abe166cff 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp @@ -132,7 +132,7 @@ class ActiveTelemetryComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -145,91 +145,91 @@ class ActiveTelemetryComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -240,31 +240,31 @@ class ActiveTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -272,7 +272,7 @@ class ActiveTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -280,13 +280,13 @@ class ActiveTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -298,25 +298,25 @@ class ActiveTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -330,25 +330,25 @@ class ActiveTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -356,7 +356,7 @@ class ActiveTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -364,13 +364,13 @@ class ActiveTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -386,13 +386,13 @@ class ActiveTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -580,35 +580,35 @@ class ActiveTelemetryComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -617,7 +617,7 @@ class ActiveTelemetryComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -626,14 +626,14 @@ class ActiveTelemetryComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -646,28 +646,28 @@ class ActiveTelemetryComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -678,32 +678,32 @@ class ActiveTelemetryComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -715,7 +715,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -727,7 +727,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -739,7 +739,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -751,7 +751,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -763,7 +763,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -775,7 +775,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -787,7 +787,7 @@ class ActiveTelemetryComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -807,32 +807,32 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -844,7 +844,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -856,7 +856,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -868,7 +868,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -880,7 +880,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -892,7 +892,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -904,7 +904,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -916,7 +916,7 @@ class ActiveTelemetryComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -938,12 +938,12 @@ class ActiveTelemetryComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -955,7 +955,7 @@ class ActiveTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -967,7 +967,7 @@ class ActiveTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -979,7 +979,7 @@ class ActiveTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -997,17 +997,17 @@ class ActiveTelemetryComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1019,7 +1019,7 @@ class ActiveTelemetryComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1167,7 +1167,7 @@ class ActiveTelemetryComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1182,37 +1182,37 @@ class ActiveTelemetryComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1225,7 +1225,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1238,7 +1238,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1251,7 +1251,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1264,7 +1264,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1277,7 +1277,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1290,7 +1290,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1303,7 +1303,7 @@ class ActiveTelemetryComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp index 59f7de008..ac7eedb4e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp @@ -83,10 +83,10 @@ namespace M { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -275,8 +275,8 @@ namespace M { // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -299,8 +299,8 @@ namespace M { // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -323,8 +323,8 @@ namespace M { // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -347,8 +347,8 @@ namespace M { // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -371,8 +371,8 @@ namespace M { // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -395,8 +395,8 @@ namespace M { // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -419,8 +419,8 @@ namespace M { // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -443,8 +443,8 @@ namespace M { // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -467,8 +467,8 @@ namespace M { // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -491,8 +491,8 @@ namespace M { // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -515,8 +515,8 @@ namespace M { // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -539,8 +539,8 @@ namespace M { // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -563,8 +563,8 @@ namespace M { // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -587,8 +587,8 @@ namespace M { // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -611,8 +611,8 @@ namespace M { // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -635,8 +635,8 @@ namespace M { // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -654,8 +654,8 @@ namespace M { // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -673,8 +673,8 @@ namespace M { // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -692,8 +692,8 @@ namespace M { // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -711,8 +711,8 @@ namespace M { // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -730,8 +730,8 @@ namespace M { // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -749,8 +749,8 @@ namespace M { // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -769,8 +769,8 @@ namespace M { #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -789,8 +789,8 @@ namespace M { // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -808,8 +808,8 @@ namespace M { // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -827,8 +827,8 @@ namespace M { // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -846,8 +846,8 @@ namespace M { // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -865,8 +865,8 @@ namespace M { // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -884,8 +884,8 @@ namespace M { // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -916,7 +916,7 @@ namespace M { // ---------------------------------------------------------------------- Fw::InputCmdPort* ActiveTestComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -927,7 +927,7 @@ namespace M { } Fw::InputDpResponsePort* ActiveTestComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -942,7 +942,7 @@ namespace M { // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveTestComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -953,7 +953,7 @@ namespace M { } Ports::InputNoArgsPort* ActiveTestComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -964,7 +964,7 @@ namespace M { } Ports::InputNoArgsReturnPort* ActiveTestComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -975,7 +975,7 @@ namespace M { } Ports::InputNoArgsReturnPort* ActiveTestComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -986,7 +986,7 @@ namespace M { } Ports::InputNoArgsPort* ActiveTestComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -997,7 +997,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -1008,7 +1008,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -1019,7 +1019,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -1030,7 +1030,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1041,7 +1041,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1052,7 +1052,7 @@ namespace M { } Ports::InputTypedReturnPort* ActiveTestComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1063,7 +1063,7 @@ namespace M { } Ports::InputTypedReturnPort* ActiveTestComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1074,7 +1074,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1090,7 +1090,7 @@ namespace M { void ActiveTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1104,7 +1104,7 @@ namespace M { void ActiveTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1118,7 +1118,7 @@ namespace M { void ActiveTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1132,7 +1132,7 @@ namespace M { void ActiveTestComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1146,7 +1146,7 @@ namespace M { void ActiveTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1160,7 +1160,7 @@ namespace M { void ActiveTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1174,7 +1174,7 @@ namespace M { void ActiveTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1190,7 +1190,7 @@ namespace M { void ActiveTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1206,7 +1206,7 @@ namespace M { void ActiveTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1220,7 +1220,7 @@ namespace M { void ActiveTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1238,7 +1238,7 @@ namespace M { void ActiveTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1252,7 +1252,7 @@ namespace M { void ActiveTestComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1266,7 +1266,7 @@ namespace M { void ActiveTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1280,7 +1280,7 @@ namespace M { void ActiveTestComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1300,7 +1300,7 @@ namespace M { void ActiveTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1314,7 +1314,7 @@ namespace M { void ActiveTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1328,7 +1328,7 @@ namespace M { void ActiveTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1342,7 +1342,7 @@ namespace M { void ActiveTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1356,7 +1356,7 @@ namespace M { void ActiveTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1370,7 +1370,7 @@ namespace M { void ActiveTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1386,7 +1386,7 @@ namespace M { void ActiveTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1402,7 +1402,7 @@ namespace M { void ActiveTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1416,7 +1416,7 @@ namespace M { void ActiveTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1438,7 +1438,7 @@ namespace M { void ActiveTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1452,7 +1452,7 @@ namespace M { void ActiveTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1999,7 +1999,7 @@ namespace M { // ---------------------------------------------------------------------- bool ActiveTestComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -2010,7 +2010,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -2021,7 +2021,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -2032,7 +2032,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -2043,7 +2043,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -2054,7 +2054,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -2065,7 +2065,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -2078,7 +2078,7 @@ namespace M { #if FW_ENABLE_TEXT_LOGGING == 1 bool ActiveTestComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -2091,7 +2091,7 @@ namespace M { #endif bool ActiveTestComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -2102,7 +2102,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -2117,7 +2117,7 @@ namespace M { // ---------------------------------------------------------------------- bool ActiveTestComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2128,7 +2128,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2139,7 +2139,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -2150,7 +2150,7 @@ namespace M { } bool ActiveTestComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -2168,7 +2168,7 @@ namespace M { void ActiveTestComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2244,7 +2244,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2284,7 +2284,7 @@ namespace M { } void ActiveTestComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2303,7 +2303,7 @@ namespace M { } U32 ActiveTestComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2326,7 +2326,7 @@ namespace M { } U32 ActiveTestComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2343,7 +2343,7 @@ namespace M { } void ActiveTestComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2357,7 +2357,7 @@ namespace M { void ActiveTestComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2464,7 +2464,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2571,7 +2571,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2678,7 +2678,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2790,7 +2790,7 @@ namespace M { void ActiveTestComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2827,7 +2827,7 @@ namespace M { F32 ActiveTestComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2868,7 +2868,7 @@ namespace M { F32 ActiveTestComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2903,7 +2903,7 @@ namespace M { void ActiveTestComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2942,7 +2942,7 @@ namespace M { void ActiveTestComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2960,14 +2960,14 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void ActiveTestComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2982,7 +2982,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2997,7 +2997,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3012,7 +3012,7 @@ namespace M { void ActiveTestComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3031,7 +3031,7 @@ namespace M { void ActiveTestComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -3048,7 +3048,7 @@ namespace M { void ActiveTestComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -3068,7 +3068,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -3078,7 +3078,7 @@ namespace M { } U32 ActiveTestComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -3089,7 +3089,7 @@ namespace M { void ActiveTestComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3116,7 +3116,7 @@ namespace M { F32 ActiveTestComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3159,7 +3159,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3195,7 +3195,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3235,7 +3235,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3283,7 +3283,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3321,7 +3321,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3363,7 +3363,7 @@ namespace M { ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4062,7 +4062,7 @@ namespace M { ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4121,7 +4121,7 @@ namespace M { ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4180,7 +4180,7 @@ namespace M { ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4239,7 +4239,7 @@ namespace M { ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4303,7 +4303,7 @@ namespace M { ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -5686,7 +5686,7 @@ namespace M { return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -6486,7 +6486,7 @@ namespace M { void ActiveTestComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -6778,7 +6778,7 @@ namespace M { void ActiveTestComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -6801,7 +6801,7 @@ namespace M { void ActiveTestComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6812,7 +6812,7 @@ namespace M { void ActiveTestComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6823,7 +6823,7 @@ namespace M { U32 ActiveTestComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6834,7 +6834,7 @@ namespace M { U32 ActiveTestComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6845,7 +6845,7 @@ namespace M { void ActiveTestComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6856,7 +6856,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6883,7 +6883,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6910,7 +6910,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6937,7 +6937,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6964,7 +6964,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6991,7 +6991,7 @@ namespace M { F32 ActiveTestComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7018,7 +7018,7 @@ namespace M { F32 ActiveTestComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7045,7 +7045,7 @@ namespace M { void ActiveTestComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7388,7 +7388,7 @@ namespace M { void ActiveTestComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp index c12f2a86d..e6dfb5f75 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp @@ -310,14 +310,14 @@ namespace M { //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -330,91 +330,91 @@ namespace M { //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -425,43 +425,43 @@ namespace M { //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -469,7 +469,7 @@ namespace M { //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -477,13 +477,13 @@ namespace M { //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -495,25 +495,25 @@ namespace M { //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -527,37 +527,37 @@ namespace M { //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -565,7 +565,7 @@ namespace M { //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -573,13 +573,13 @@ namespace M { //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -595,13 +595,13 @@ namespace M { //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -826,49 +826,49 @@ namespace M { //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -877,7 +877,7 @@ namespace M { //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -886,14 +886,14 @@ namespace M { //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -906,28 +906,28 @@ namespace M { //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -940,7 +940,7 @@ namespace M { //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -954,32 +954,32 @@ namespace M { //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -991,7 +991,7 @@ namespace M { //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1003,7 +1003,7 @@ namespace M { //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1015,7 +1015,7 @@ namespace M { //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1027,7 +1027,7 @@ namespace M { //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1039,7 +1039,7 @@ namespace M { //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1051,7 +1051,7 @@ namespace M { //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1063,7 +1063,7 @@ namespace M { //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,32 +1083,32 @@ namespace M { //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1120,7 +1120,7 @@ namespace M { //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1132,7 +1132,7 @@ namespace M { //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1144,7 +1144,7 @@ namespace M { //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1156,7 +1156,7 @@ namespace M { //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1168,7 +1168,7 @@ namespace M { //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1180,7 +1180,7 @@ namespace M { //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1192,7 +1192,7 @@ namespace M { //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1214,7 +1214,7 @@ namespace M { //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1232,12 +1232,12 @@ namespace M { //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1249,7 +1249,7 @@ namespace M { //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1261,7 +1261,7 @@ namespace M { //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1273,7 +1273,7 @@ namespace M { //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1291,14 +1291,14 @@ namespace M { //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1311,17 +1311,17 @@ namespace M { //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1333,7 +1333,7 @@ namespace M { //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2164,7 +2164,7 @@ namespace M { //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -2173,7 +2173,7 @@ namespace M { //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -2188,37 +2188,37 @@ namespace M { //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2231,7 +2231,7 @@ namespace M { //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2244,7 +2244,7 @@ namespace M { //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2257,7 +2257,7 @@ namespace M { //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2270,7 +2270,7 @@ namespace M { //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2283,7 +2283,7 @@ namespace M { //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2296,7 +2296,7 @@ namespace M { //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2309,7 +2309,7 @@ namespace M { //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2417,7 +2417,7 @@ namespace M { //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp index f069dfa77..3f30b1ed5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveCommandsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveCommandsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -72,8 +72,8 @@ void PassiveCommandsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -96,8 +96,8 @@ void PassiveCommandsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -120,8 +120,8 @@ void PassiveCommandsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -144,8 +144,8 @@ void PassiveCommandsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -168,8 +168,8 @@ void PassiveCommandsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -192,8 +192,8 @@ void PassiveCommandsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -216,8 +216,8 @@ void PassiveCommandsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -240,8 +240,8 @@ void PassiveCommandsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -259,8 +259,8 @@ void PassiveCommandsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -278,8 +278,8 @@ void PassiveCommandsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -297,8 +297,8 @@ void PassiveCommandsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -316,8 +316,8 @@ void PassiveCommandsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -336,8 +336,8 @@ void PassiveCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -356,8 +356,8 @@ void PassiveCommandsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -375,8 +375,8 @@ void PassiveCommandsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -394,8 +394,8 @@ void PassiveCommandsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -413,8 +413,8 @@ void PassiveCommandsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -432,8 +432,8 @@ void PassiveCommandsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -451,8 +451,8 @@ void PassiveCommandsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -474,7 +474,7 @@ void PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveCommandsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -489,7 +489,7 @@ Fw::InputCmdPort* PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveCommandsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -500,7 +500,7 @@ Ports::InputNoArgsPort* PassiveCommandsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveCommandsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -511,7 +511,7 @@ Ports::InputNoArgsReturnPort* PassiveCommandsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveCommandsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -522,7 +522,7 @@ Ports::InputNoArgsReturnPort* PassiveCommandsComponentBase :: } Ports::InputNoArgsPort* PassiveCommandsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -533,7 +533,7 @@ Ports::InputNoArgsPort* PassiveCommandsComponentBase :: } Ports::InputTypedPort* PassiveCommandsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -544,7 +544,7 @@ Ports::InputTypedPort* PassiveCommandsComponentBase :: } Ports::InputTypedReturnPort* PassiveCommandsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -555,7 +555,7 @@ Ports::InputTypedReturnPort* PassiveCommandsComponentBase :: } Ports::InputTypedReturnPort* PassiveCommandsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -566,7 +566,7 @@ Ports::InputTypedReturnPort* PassiveCommandsComponentBase :: } Ports::InputTypedPort* PassiveCommandsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -582,7 +582,7 @@ Ports::InputTypedPort* PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -596,7 +596,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -610,7 +610,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -624,7 +624,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -638,7 +638,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -654,7 +654,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -670,7 +670,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -684,7 +684,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -702,7 +702,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -716,7 +716,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -730,7 +730,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -744,7 +744,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -764,7 +764,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -778,7 +778,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -792,7 +792,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -806,7 +806,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -822,7 +822,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -838,7 +838,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -852,7 +852,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -874,7 +874,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -888,7 +888,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1128,7 +1128,7 @@ NATIVE_INT_TYPE PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- bool PassiveCommandsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1139,7 +1139,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1150,7 +1150,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1161,7 +1161,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1172,7 +1172,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1185,7 +1185,7 @@ bool PassiveCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveCommandsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1198,7 +1198,7 @@ bool PassiveCommandsComponentBase :: #endif bool PassiveCommandsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1209,7 +1209,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1224,7 +1224,7 @@ bool PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- bool PassiveCommandsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1235,7 +1235,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1246,7 +1246,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1257,7 +1257,7 @@ bool PassiveCommandsComponentBase :: } bool PassiveCommandsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1274,7 +1274,7 @@ bool PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- void PassiveCommandsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1293,7 +1293,7 @@ void PassiveCommandsComponentBase :: } U32 PassiveCommandsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1316,7 +1316,7 @@ U32 PassiveCommandsComponentBase :: } U32 PassiveCommandsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1333,7 +1333,7 @@ U32 PassiveCommandsComponentBase :: } void PassiveCommandsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1347,7 +1347,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1384,7 +1384,7 @@ void PassiveCommandsComponentBase :: F32 PassiveCommandsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1425,7 +1425,7 @@ F32 PassiveCommandsComponentBase :: F32 PassiveCommandsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1460,7 +1460,7 @@ F32 PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1494,7 +1494,7 @@ void PassiveCommandsComponentBase :: // ---------------------------------------------------------------------- void PassiveCommandsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1504,7 +1504,7 @@ void PassiveCommandsComponentBase :: } U32 PassiveCommandsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1515,7 +1515,7 @@ U32 PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1542,7 +1542,7 @@ void PassiveCommandsComponentBase :: F32 PassiveCommandsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2259,7 +2259,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -2390,7 +2390,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2401,7 +2401,7 @@ void PassiveCommandsComponentBase :: U32 PassiveCommandsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2412,7 +2412,7 @@ U32 PassiveCommandsComponentBase :: U32 PassiveCommandsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2423,7 +2423,7 @@ U32 PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2434,7 +2434,7 @@ void PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2461,7 +2461,7 @@ void PassiveCommandsComponentBase :: F32 PassiveCommandsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2488,7 +2488,7 @@ F32 PassiveCommandsComponentBase :: F32 PassiveCommandsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2515,7 +2515,7 @@ F32 PassiveCommandsComponentBase :: void PassiveCommandsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp index cdea59e2d..49dd49247 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp @@ -127,7 +127,7 @@ class PassiveCommandsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -140,56 +140,56 @@ class PassiveCommandsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -200,31 +200,31 @@ class PassiveCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -232,7 +232,7 @@ class PassiveCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -240,13 +240,13 @@ class PassiveCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -258,25 +258,25 @@ class PassiveCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -290,25 +290,25 @@ class PassiveCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -316,7 +316,7 @@ class PassiveCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -324,13 +324,13 @@ class PassiveCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -346,13 +346,13 @@ class PassiveCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -526,35 +526,35 @@ class PassiveCommandsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -563,7 +563,7 @@ class PassiveCommandsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -572,14 +572,14 @@ class PassiveCommandsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -592,28 +592,28 @@ class PassiveCommandsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -624,27 +624,27 @@ class PassiveCommandsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -656,7 +656,7 @@ class PassiveCommandsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -668,7 +668,7 @@ class PassiveCommandsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -680,7 +680,7 @@ class PassiveCommandsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -700,27 +700,27 @@ class PassiveCommandsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,7 +732,7 @@ class PassiveCommandsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -744,7 +744,7 @@ class PassiveCommandsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -756,7 +756,7 @@ class PassiveCommandsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -774,17 +774,17 @@ class PassiveCommandsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -796,7 +796,7 @@ class PassiveCommandsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1088,7 +1088,7 @@ class PassiveCommandsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1103,31 +1103,31 @@ class PassiveCommandsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class PassiveCommandsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1153,7 +1153,7 @@ class PassiveCommandsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1166,7 +1166,7 @@ class PassiveCommandsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp index fe2252b26..8fbcd9890 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveEventsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveEventsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -72,8 +72,8 @@ void PassiveEventsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -96,8 +96,8 @@ void PassiveEventsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -120,8 +120,8 @@ void PassiveEventsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -144,8 +144,8 @@ void PassiveEventsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -168,8 +168,8 @@ void PassiveEventsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -192,8 +192,8 @@ void PassiveEventsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -216,8 +216,8 @@ void PassiveEventsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -240,8 +240,8 @@ void PassiveEventsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -259,8 +259,8 @@ void PassiveEventsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -278,8 +278,8 @@ void PassiveEventsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -297,8 +297,8 @@ void PassiveEventsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -316,8 +316,8 @@ void PassiveEventsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -336,8 +336,8 @@ void PassiveEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -356,8 +356,8 @@ void PassiveEventsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -375,8 +375,8 @@ void PassiveEventsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -394,8 +394,8 @@ void PassiveEventsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -413,8 +413,8 @@ void PassiveEventsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -432,8 +432,8 @@ void PassiveEventsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -451,8 +451,8 @@ void PassiveEventsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -474,7 +474,7 @@ void PassiveEventsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveEventsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -489,7 +489,7 @@ Fw::InputCmdPort* PassiveEventsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveEventsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -500,7 +500,7 @@ Ports::InputNoArgsPort* PassiveEventsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveEventsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -511,7 +511,7 @@ Ports::InputNoArgsReturnPort* PassiveEventsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveEventsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -522,7 +522,7 @@ Ports::InputNoArgsReturnPort* PassiveEventsComponentBase :: } Ports::InputNoArgsPort* PassiveEventsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -533,7 +533,7 @@ Ports::InputNoArgsPort* PassiveEventsComponentBase :: } Ports::InputTypedPort* PassiveEventsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -544,7 +544,7 @@ Ports::InputTypedPort* PassiveEventsComponentBase :: } Ports::InputTypedReturnPort* PassiveEventsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -555,7 +555,7 @@ Ports::InputTypedReturnPort* PassiveEventsComponentBase :: } Ports::InputTypedReturnPort* PassiveEventsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -566,7 +566,7 @@ Ports::InputTypedReturnPort* PassiveEventsComponentBase :: } Ports::InputTypedPort* PassiveEventsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -582,7 +582,7 @@ Ports::InputTypedPort* PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -596,7 +596,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -610,7 +610,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -624,7 +624,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -638,7 +638,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -654,7 +654,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -670,7 +670,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -684,7 +684,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -702,7 +702,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -716,7 +716,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -730,7 +730,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -744,7 +744,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -764,7 +764,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -778,7 +778,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -792,7 +792,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -806,7 +806,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -822,7 +822,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -838,7 +838,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -852,7 +852,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -874,7 +874,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -888,7 +888,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1072,7 +1072,7 @@ NATIVE_INT_TYPE PassiveEventsComponentBase :: // ---------------------------------------------------------------------- bool PassiveEventsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1083,7 +1083,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1094,7 +1094,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1105,7 +1105,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1116,7 +1116,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1129,7 +1129,7 @@ bool PassiveEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveEventsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1142,7 +1142,7 @@ bool PassiveEventsComponentBase :: #endif bool PassiveEventsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1153,7 +1153,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1168,7 +1168,7 @@ bool PassiveEventsComponentBase :: // ---------------------------------------------------------------------- bool PassiveEventsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1179,7 +1179,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1190,7 +1190,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1201,7 +1201,7 @@ bool PassiveEventsComponentBase :: } bool PassiveEventsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1218,7 +1218,7 @@ bool PassiveEventsComponentBase :: // ---------------------------------------------------------------------- void PassiveEventsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1237,7 +1237,7 @@ void PassiveEventsComponentBase :: } U32 PassiveEventsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1260,7 +1260,7 @@ U32 PassiveEventsComponentBase :: } U32 PassiveEventsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1277,7 +1277,7 @@ U32 PassiveEventsComponentBase :: } void PassiveEventsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1291,7 +1291,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1328,7 +1328,7 @@ void PassiveEventsComponentBase :: F32 PassiveEventsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1369,7 +1369,7 @@ F32 PassiveEventsComponentBase :: F32 PassiveEventsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1404,7 +1404,7 @@ F32 PassiveEventsComponentBase :: void PassiveEventsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1438,7 +1438,7 @@ void PassiveEventsComponentBase :: // ---------------------------------------------------------------------- void PassiveEventsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1448,7 +1448,7 @@ void PassiveEventsComponentBase :: } U32 PassiveEventsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1459,7 +1459,7 @@ U32 PassiveEventsComponentBase :: void PassiveEventsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1486,7 +1486,7 @@ void PassiveEventsComponentBase :: F32 PassiveEventsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2249,7 +2249,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -2268,7 +2268,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2279,7 +2279,7 @@ void PassiveEventsComponentBase :: U32 PassiveEventsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2290,7 +2290,7 @@ U32 PassiveEventsComponentBase :: U32 PassiveEventsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2301,7 +2301,7 @@ U32 PassiveEventsComponentBase :: void PassiveEventsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2312,7 +2312,7 @@ void PassiveEventsComponentBase :: void PassiveEventsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2339,7 +2339,7 @@ void PassiveEventsComponentBase :: F32 PassiveEventsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2366,7 +2366,7 @@ F32 PassiveEventsComponentBase :: F32 PassiveEventsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2393,7 +2393,7 @@ F32 PassiveEventsComponentBase :: void PassiveEventsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp index b0622088a..4c6a1318d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp @@ -129,7 +129,7 @@ class PassiveEventsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -142,56 +142,56 @@ class PassiveEventsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -202,31 +202,31 @@ class PassiveEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -234,7 +234,7 @@ class PassiveEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -242,13 +242,13 @@ class PassiveEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -260,25 +260,25 @@ class PassiveEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -292,25 +292,25 @@ class PassiveEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -318,7 +318,7 @@ class PassiveEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -326,13 +326,13 @@ class PassiveEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -348,13 +348,13 @@ class PassiveEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -517,35 +517,35 @@ class PassiveEventsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -554,7 +554,7 @@ class PassiveEventsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -563,14 +563,14 @@ class PassiveEventsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -583,28 +583,28 @@ class PassiveEventsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -615,27 +615,27 @@ class PassiveEventsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -647,7 +647,7 @@ class PassiveEventsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -659,7 +659,7 @@ class PassiveEventsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -671,7 +671,7 @@ class PassiveEventsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -691,27 +691,27 @@ class PassiveEventsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -723,7 +723,7 @@ class PassiveEventsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -735,7 +735,7 @@ class PassiveEventsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -747,7 +747,7 @@ class PassiveEventsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -765,17 +765,17 @@ class PassiveEventsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -787,7 +787,7 @@ class PassiveEventsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -901,7 +901,7 @@ class PassiveEventsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -916,31 +916,31 @@ class PassiveEventsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -953,7 +953,7 @@ class PassiveEventsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -966,7 +966,7 @@ class PassiveEventsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -979,7 +979,7 @@ class PassiveEventsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp index c90e4f24e..22af952f1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveGetProductPortsOnlyComponentBase :: // Connect output port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productGetOut_OutputPorts()); port++ ) { this->m_productGetOut_OutputPort[port].init(); @@ -43,8 +43,8 @@ void PassiveGetProductPortsOnlyComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -67,7 +67,7 @@ void PassiveGetProductPortsOnlyComponentBase :: void PassiveGetProductPortsOnlyComponentBase :: set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpGetPort* port ) { @@ -81,7 +81,7 @@ void PassiveGetProductPortsOnlyComponentBase :: void PassiveGetProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -101,7 +101,7 @@ void PassiveGetProductPortsOnlyComponentBase :: void PassiveGetProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -153,7 +153,7 @@ NATIVE_INT_TYPE PassiveGetProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool PassiveGetProductPortsOnlyComponentBase :: - isConnected_productGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productGetOut_OutputPorts(), @@ -164,7 +164,7 @@ bool PassiveGetProductPortsOnlyComponentBase :: } bool PassiveGetProductPortsOnlyComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -180,7 +180,7 @@ bool PassiveGetProductPortsOnlyComponentBase :: Fw::Success PassiveGetProductPortsOnlyComponentBase :: productGetOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -199,7 +199,7 @@ Fw::Success PassiveGetProductPortsOnlyComponentBase :: void PassiveGetProductPortsOnlyComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp index b055475f7..a76003d29 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp @@ -60,13 +60,13 @@ class PassiveGetProductPortsOnlyComponentBase : //! Connect port to productGetOut[portNum] void set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpGetPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -80,7 +80,7 @@ class PassiveGetProductPortsOnlyComponentBase : //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -126,14 +126,14 @@ class PassiveGetProductPortsOnlyComponentBase : //! //! \return Whether port productGetOut is connected bool isConnected_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -144,7 +144,7 @@ class PassiveGetProductPortsOnlyComponentBase : //! Invoke output port productGetOut Fw::Success productGetOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -152,7 +152,7 @@ class PassiveGetProductPortsOnlyComponentBase : //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp index 1ec13f31c..b02a51f9b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp @@ -179,8 +179,8 @@ void PassiveGetProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -203,8 +203,8 @@ void PassiveGetProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -227,8 +227,8 @@ void PassiveGetProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -251,8 +251,8 @@ void PassiveGetProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -275,8 +275,8 @@ void PassiveGetProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -299,8 +299,8 @@ void PassiveGetProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -323,8 +323,8 @@ void PassiveGetProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -347,8 +347,8 @@ void PassiveGetProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -371,8 +371,8 @@ void PassiveGetProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -395,8 +395,8 @@ void PassiveGetProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -414,8 +414,8 @@ void PassiveGetProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -433,8 +433,8 @@ void PassiveGetProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -452,8 +452,8 @@ void PassiveGetProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -471,8 +471,8 @@ void PassiveGetProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -490,8 +490,8 @@ void PassiveGetProductsComponentBase :: // Connect output port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productGetOut_OutputPorts()); port++ ) { this->m_productGetOut_OutputPort[port].init(); @@ -509,8 +509,8 @@ void PassiveGetProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -529,8 +529,8 @@ void PassiveGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -549,8 +549,8 @@ void PassiveGetProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -568,8 +568,8 @@ void PassiveGetProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -587,8 +587,8 @@ void PassiveGetProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -606,8 +606,8 @@ void PassiveGetProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -625,8 +625,8 @@ void PassiveGetProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -644,8 +644,8 @@ void PassiveGetProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -667,7 +667,7 @@ void PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveGetProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -682,7 +682,7 @@ Fw::InputCmdPort* PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveGetProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -693,7 +693,7 @@ Ports::InputNoArgsPort* PassiveGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveGetProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -704,7 +704,7 @@ Ports::InputNoArgsReturnPort* PassiveGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveGetProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -715,7 +715,7 @@ Ports::InputNoArgsReturnPort* PassiveGetProductsComponentBase :: } Ports::InputNoArgsPort* PassiveGetProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -726,7 +726,7 @@ Ports::InputNoArgsPort* PassiveGetProductsComponentBase :: } Ports::InputTypedPort* PassiveGetProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -737,7 +737,7 @@ Ports::InputTypedPort* PassiveGetProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveGetProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -748,7 +748,7 @@ Ports::InputTypedReturnPort* PassiveGetProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveGetProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -759,7 +759,7 @@ Ports::InputTypedReturnPort* PassiveGetProductsComponentBase :: } Ports::InputTypedPort* PassiveGetProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -789,7 +789,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -803,7 +803,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -817,7 +817,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -831,7 +831,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -845,7 +845,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpGetPort* port ) { @@ -859,7 +859,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -875,7 +875,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -891,7 +891,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -905,7 +905,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -923,7 +923,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -937,7 +937,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -951,7 +951,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -965,7 +965,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -985,7 +985,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -999,7 +999,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1013,7 +1013,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1027,7 +1027,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1041,7 +1041,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1057,7 +1057,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1073,7 +1073,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1087,7 +1087,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1109,7 +1109,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1123,7 +1123,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1317,7 +1317,7 @@ NATIVE_INT_TYPE PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveGetProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1328,7 +1328,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1339,7 +1339,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1350,7 +1350,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1361,7 +1361,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1372,7 +1372,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_productGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productGetOut_OutputPorts(), @@ -1383,7 +1383,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1396,7 +1396,7 @@ bool PassiveGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveGetProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1409,7 +1409,7 @@ bool PassiveGetProductsComponentBase :: #endif bool PassiveGetProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1420,7 +1420,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1435,7 +1435,7 @@ bool PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveGetProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1446,7 +1446,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1457,7 +1457,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1468,7 +1468,7 @@ bool PassiveGetProductsComponentBase :: } bool PassiveGetProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1485,7 +1485,7 @@ bool PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveGetProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1504,7 +1504,7 @@ void PassiveGetProductsComponentBase :: } U32 PassiveGetProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1527,7 +1527,7 @@ U32 PassiveGetProductsComponentBase :: } U32 PassiveGetProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1544,7 +1544,7 @@ U32 PassiveGetProductsComponentBase :: } void PassiveGetProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1558,7 +1558,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1595,7 +1595,7 @@ void PassiveGetProductsComponentBase :: F32 PassiveGetProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1636,7 +1636,7 @@ F32 PassiveGetProductsComponentBase :: F32 PassiveGetProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1671,7 +1671,7 @@ F32 PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1706,7 +1706,7 @@ void PassiveGetProductsComponentBase :: Fw::Success PassiveGetProductsComponentBase :: productGetOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -1725,7 +1725,7 @@ Fw::Success PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1745,7 +1745,7 @@ void PassiveGetProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveGetProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1755,7 +1755,7 @@ void PassiveGetProductsComponentBase :: } U32 PassiveGetProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1766,7 +1766,7 @@ U32 PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1793,7 +1793,7 @@ void PassiveGetProductsComponentBase :: F32 PassiveGetProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1890,7 +1890,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -1909,7 +1909,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1920,7 +1920,7 @@ void PassiveGetProductsComponentBase :: U32 PassiveGetProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1931,7 +1931,7 @@ U32 PassiveGetProductsComponentBase :: U32 PassiveGetProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1942,7 +1942,7 @@ U32 PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1953,7 +1953,7 @@ void PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1980,7 +1980,7 @@ void PassiveGetProductsComponentBase :: F32 PassiveGetProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2007,7 +2007,7 @@ F32 PassiveGetProductsComponentBase :: F32 PassiveGetProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2034,7 +2034,7 @@ F32 PassiveGetProductsComponentBase :: void PassiveGetProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp index 31492d572..ebdf5c3f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp @@ -215,7 +215,7 @@ class PassiveGetProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -228,56 +228,56 @@ class PassiveGetProductsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -288,43 +288,43 @@ class PassiveGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productGetOut[portNum] void set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpGetPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -332,7 +332,7 @@ class PassiveGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -340,13 +340,13 @@ class PassiveGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -358,25 +358,25 @@ class PassiveGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -390,31 +390,31 @@ class PassiveGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -422,7 +422,7 @@ class PassiveGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -430,13 +430,13 @@ class PassiveGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -452,13 +452,13 @@ class PassiveGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -631,49 +631,49 @@ class PassiveGetProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productGetOut is connected //! //! \return Whether port productGetOut is connected bool isConnected_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -682,7 +682,7 @@ class PassiveGetProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -691,14 +691,14 @@ class PassiveGetProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -711,28 +711,28 @@ class PassiveGetProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -743,27 +743,27 @@ class PassiveGetProductsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -775,7 +775,7 @@ class PassiveGetProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -787,7 +787,7 @@ class PassiveGetProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -799,7 +799,7 @@ class PassiveGetProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -819,27 +819,27 @@ class PassiveGetProductsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -851,7 +851,7 @@ class PassiveGetProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -863,7 +863,7 @@ class PassiveGetProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -875,7 +875,7 @@ class PassiveGetProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -893,7 +893,7 @@ class PassiveGetProductsComponentBase : //! Invoke output port productGetOut Fw::Success productGetOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -901,7 +901,7 @@ class PassiveGetProductsComponentBase : //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -914,17 +914,17 @@ class PassiveGetProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -936,7 +936,7 @@ class PassiveGetProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1074,7 +1074,7 @@ class PassiveGetProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1089,31 +1089,31 @@ class PassiveGetProductsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1126,7 +1126,7 @@ class PassiveGetProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1139,7 +1139,7 @@ class PassiveGetProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class PassiveGetProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp index 468359b0f..3c8cb0df0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp @@ -179,8 +179,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -203,8 +203,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -227,8 +227,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -251,8 +251,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -275,8 +275,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -299,8 +299,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -323,8 +323,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -347,8 +347,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -371,8 +371,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -395,8 +395,8 @@ void PassiveGuardedProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -419,8 +419,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -438,8 +438,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -457,8 +457,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -476,8 +476,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -495,8 +495,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -533,8 +533,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void PassiveGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -573,8 +573,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -592,8 +592,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -611,8 +611,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -630,8 +630,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -649,8 +649,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -668,8 +668,8 @@ void PassiveGuardedProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -691,7 +691,7 @@ void PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveGuardedProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -702,7 +702,7 @@ Fw::InputCmdPort* PassiveGuardedProductsComponentBase :: } Fw::InputDpResponsePort* PassiveGuardedProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -717,7 +717,7 @@ Fw::InputDpResponsePort* PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveGuardedProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -728,7 +728,7 @@ Ports::InputNoArgsPort* PassiveGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveGuardedProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -739,7 +739,7 @@ Ports::InputNoArgsReturnPort* PassiveGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveGuardedProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -750,7 +750,7 @@ Ports::InputNoArgsReturnPort* PassiveGuardedProductsComponentBase :: } Ports::InputNoArgsPort* PassiveGuardedProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -761,7 +761,7 @@ Ports::InputNoArgsPort* PassiveGuardedProductsComponentBase :: } Ports::InputTypedPort* PassiveGuardedProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -772,7 +772,7 @@ Ports::InputTypedPort* PassiveGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveGuardedProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -783,7 +783,7 @@ Ports::InputTypedReturnPort* PassiveGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveGuardedProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -794,7 +794,7 @@ Ports::InputTypedReturnPort* PassiveGuardedProductsComponentBase :: } Ports::InputTypedPort* PassiveGuardedProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -810,7 +810,7 @@ Ports::InputTypedPort* PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -824,7 +824,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -838,7 +838,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -852,7 +852,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -866,7 +866,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -880,7 +880,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -894,7 +894,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -910,7 +910,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -926,7 +926,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -940,7 +940,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -958,7 +958,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -972,7 +972,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -986,7 +986,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1000,7 +1000,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1020,7 +1020,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1062,7 +1062,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1076,7 +1076,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1090,7 +1090,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1106,7 +1106,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1122,7 +1122,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1136,7 +1136,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1158,7 +1158,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1172,7 +1172,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1372,7 +1372,7 @@ NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveGuardedProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1383,7 +1383,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1394,7 +1394,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1405,7 +1405,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1416,7 +1416,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1427,7 +1427,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1438,7 +1438,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1451,7 +1451,7 @@ bool PassiveGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveGuardedProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1464,7 +1464,7 @@ bool PassiveGuardedProductsComponentBase :: #endif bool PassiveGuardedProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1475,7 +1475,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1490,7 +1490,7 @@ bool PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveGuardedProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1501,7 +1501,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1512,7 +1512,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1523,7 +1523,7 @@ bool PassiveGuardedProductsComponentBase :: } bool PassiveGuardedProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1541,7 +1541,7 @@ bool PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1575,7 +1575,7 @@ void PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveGuardedProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1594,7 +1594,7 @@ void PassiveGuardedProductsComponentBase :: } U32 PassiveGuardedProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1617,7 +1617,7 @@ U32 PassiveGuardedProductsComponentBase :: } U32 PassiveGuardedProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1634,7 +1634,7 @@ U32 PassiveGuardedProductsComponentBase :: } void PassiveGuardedProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1648,7 +1648,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1685,7 +1685,7 @@ void PassiveGuardedProductsComponentBase :: F32 PassiveGuardedProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1726,7 +1726,7 @@ F32 PassiveGuardedProductsComponentBase :: F32 PassiveGuardedProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1761,7 +1761,7 @@ F32 PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1800,7 +1800,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1815,7 +1815,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1832,7 +1832,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1852,7 +1852,7 @@ void PassiveGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveGuardedProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1862,7 +1862,7 @@ void PassiveGuardedProductsComponentBase :: } U32 PassiveGuardedProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1873,7 +1873,7 @@ U32 PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1900,7 +1900,7 @@ void PassiveGuardedProductsComponentBase :: F32 PassiveGuardedProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1997,7 +1997,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -2012,7 +2012,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2035,7 +2035,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2046,7 +2046,7 @@ void PassiveGuardedProductsComponentBase :: U32 PassiveGuardedProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2057,7 +2057,7 @@ U32 PassiveGuardedProductsComponentBase :: U32 PassiveGuardedProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2068,7 +2068,7 @@ U32 PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2079,7 +2079,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2106,7 +2106,7 @@ void PassiveGuardedProductsComponentBase :: F32 PassiveGuardedProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2133,7 +2133,7 @@ F32 PassiveGuardedProductsComponentBase :: F32 PassiveGuardedProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2160,7 +2160,7 @@ F32 PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2201,7 +2201,7 @@ void PassiveGuardedProductsComponentBase :: void PassiveGuardedProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp index 0260818b4..f0a2ad95d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp @@ -217,14 +217,14 @@ class PassiveGuardedProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -237,56 +237,56 @@ class PassiveGuardedProductsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -297,43 +297,43 @@ class PassiveGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -341,7 +341,7 @@ class PassiveGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -349,13 +349,13 @@ class PassiveGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -367,25 +367,25 @@ class PassiveGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -399,37 +399,37 @@ class PassiveGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -437,7 +437,7 @@ class PassiveGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -445,13 +445,13 @@ class PassiveGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -467,13 +467,13 @@ class PassiveGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -651,49 +651,49 @@ class PassiveGuardedProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -702,7 +702,7 @@ class PassiveGuardedProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -711,14 +711,14 @@ class PassiveGuardedProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -731,28 +731,28 @@ class PassiveGuardedProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -765,7 +765,7 @@ class PassiveGuardedProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -779,27 +779,27 @@ class PassiveGuardedProductsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -811,7 +811,7 @@ class PassiveGuardedProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -823,7 +823,7 @@ class PassiveGuardedProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -835,7 +835,7 @@ class PassiveGuardedProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -855,27 +855,27 @@ class PassiveGuardedProductsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -887,7 +887,7 @@ class PassiveGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -899,7 +899,7 @@ class PassiveGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -911,7 +911,7 @@ class PassiveGuardedProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -933,7 +933,7 @@ class PassiveGuardedProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -947,14 +947,14 @@ class PassiveGuardedProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -967,17 +967,17 @@ class PassiveGuardedProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -989,7 +989,7 @@ class PassiveGuardedProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1117,7 +1117,7 @@ class PassiveGuardedProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1126,7 +1126,7 @@ class PassiveGuardedProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1141,31 +1141,31 @@ class PassiveGuardedProductsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1178,7 +1178,7 @@ class PassiveGuardedProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1191,7 +1191,7 @@ class PassiveGuardedProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1204,7 +1204,7 @@ class PassiveGuardedProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1228,7 +1228,7 @@ class PassiveGuardedProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp index ec69bcc2b..c3a33d90b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveParamsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveParamsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -72,8 +72,8 @@ void PassiveParamsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -96,8 +96,8 @@ void PassiveParamsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -120,8 +120,8 @@ void PassiveParamsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -144,8 +144,8 @@ void PassiveParamsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -168,8 +168,8 @@ void PassiveParamsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -192,8 +192,8 @@ void PassiveParamsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -216,8 +216,8 @@ void PassiveParamsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -240,8 +240,8 @@ void PassiveParamsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -259,8 +259,8 @@ void PassiveParamsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -278,8 +278,8 @@ void PassiveParamsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -297,8 +297,8 @@ void PassiveParamsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -316,8 +316,8 @@ void PassiveParamsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -336,8 +336,8 @@ void PassiveParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -356,8 +356,8 @@ void PassiveParamsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -375,8 +375,8 @@ void PassiveParamsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -394,8 +394,8 @@ void PassiveParamsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -413,8 +413,8 @@ void PassiveParamsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -432,8 +432,8 @@ void PassiveParamsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -451,8 +451,8 @@ void PassiveParamsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -474,7 +474,7 @@ void PassiveParamsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveParamsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -489,7 +489,7 @@ Fw::InputCmdPort* PassiveParamsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveParamsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -500,7 +500,7 @@ Ports::InputNoArgsPort* PassiveParamsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveParamsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -511,7 +511,7 @@ Ports::InputNoArgsReturnPort* PassiveParamsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveParamsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -522,7 +522,7 @@ Ports::InputNoArgsReturnPort* PassiveParamsComponentBase :: } Ports::InputNoArgsPort* PassiveParamsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -533,7 +533,7 @@ Ports::InputNoArgsPort* PassiveParamsComponentBase :: } Ports::InputTypedPort* PassiveParamsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -544,7 +544,7 @@ Ports::InputTypedPort* PassiveParamsComponentBase :: } Ports::InputTypedReturnPort* PassiveParamsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -555,7 +555,7 @@ Ports::InputTypedReturnPort* PassiveParamsComponentBase :: } Ports::InputTypedReturnPort* PassiveParamsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -566,7 +566,7 @@ Ports::InputTypedReturnPort* PassiveParamsComponentBase :: } Ports::InputTypedPort* PassiveParamsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -582,7 +582,7 @@ Ports::InputTypedPort* PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -596,7 +596,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -610,7 +610,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -624,7 +624,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -638,7 +638,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -654,7 +654,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -670,7 +670,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -684,7 +684,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -702,7 +702,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -716,7 +716,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -730,7 +730,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -744,7 +744,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -764,7 +764,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -778,7 +778,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -792,7 +792,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -806,7 +806,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -822,7 +822,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -838,7 +838,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -852,7 +852,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -874,7 +874,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -888,7 +888,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1308,7 +1308,7 @@ NATIVE_INT_TYPE PassiveParamsComponentBase :: // ---------------------------------------------------------------------- bool PassiveParamsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1319,7 +1319,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1330,7 +1330,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1341,7 +1341,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1352,7 +1352,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1365,7 +1365,7 @@ bool PassiveParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveParamsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1378,7 +1378,7 @@ bool PassiveParamsComponentBase :: #endif bool PassiveParamsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1389,7 +1389,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1404,7 +1404,7 @@ bool PassiveParamsComponentBase :: // ---------------------------------------------------------------------- bool PassiveParamsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1415,7 +1415,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1426,7 +1426,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1437,7 +1437,7 @@ bool PassiveParamsComponentBase :: } bool PassiveParamsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1454,7 +1454,7 @@ bool PassiveParamsComponentBase :: // ---------------------------------------------------------------------- void PassiveParamsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1473,7 +1473,7 @@ void PassiveParamsComponentBase :: } U32 PassiveParamsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1496,7 +1496,7 @@ U32 PassiveParamsComponentBase :: } U32 PassiveParamsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1513,7 +1513,7 @@ U32 PassiveParamsComponentBase :: } void PassiveParamsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1527,7 +1527,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1564,7 +1564,7 @@ void PassiveParamsComponentBase :: F32 PassiveParamsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1605,7 +1605,7 @@ F32 PassiveParamsComponentBase :: F32 PassiveParamsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1640,7 +1640,7 @@ F32 PassiveParamsComponentBase :: void PassiveParamsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1674,7 +1674,7 @@ void PassiveParamsComponentBase :: // ---------------------------------------------------------------------- void PassiveParamsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1684,7 +1684,7 @@ void PassiveParamsComponentBase :: } U32 PassiveParamsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1695,7 +1695,7 @@ U32 PassiveParamsComponentBase :: void PassiveParamsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1722,7 +1722,7 @@ void PassiveParamsComponentBase :: F32 PassiveParamsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1891,7 +1891,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -2034,7 +2034,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2045,7 +2045,7 @@ void PassiveParamsComponentBase :: U32 PassiveParamsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2056,7 +2056,7 @@ U32 PassiveParamsComponentBase :: U32 PassiveParamsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2067,7 +2067,7 @@ U32 PassiveParamsComponentBase :: void PassiveParamsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2078,7 +2078,7 @@ void PassiveParamsComponentBase :: void PassiveParamsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2105,7 +2105,7 @@ void PassiveParamsComponentBase :: F32 PassiveParamsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2132,7 +2132,7 @@ F32 PassiveParamsComponentBase :: F32 PassiveParamsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2159,7 +2159,7 @@ F32 PassiveParamsComponentBase :: void PassiveParamsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp index 57b3c992b..981a3271b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp @@ -139,7 +139,7 @@ class PassiveParamsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -152,56 +152,56 @@ class PassiveParamsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -212,31 +212,31 @@ class PassiveParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -244,7 +244,7 @@ class PassiveParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -252,13 +252,13 @@ class PassiveParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -270,25 +270,25 @@ class PassiveParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -302,25 +302,25 @@ class PassiveParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -328,7 +328,7 @@ class PassiveParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -336,13 +336,13 @@ class PassiveParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -358,13 +358,13 @@ class PassiveParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -549,35 +549,35 @@ class PassiveParamsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -586,7 +586,7 @@ class PassiveParamsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -595,14 +595,14 @@ class PassiveParamsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -615,28 +615,28 @@ class PassiveParamsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -647,27 +647,27 @@ class PassiveParamsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -679,7 +679,7 @@ class PassiveParamsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -691,7 +691,7 @@ class PassiveParamsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -703,7 +703,7 @@ class PassiveParamsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -723,27 +723,27 @@ class PassiveParamsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -755,7 +755,7 @@ class PassiveParamsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -767,7 +767,7 @@ class PassiveParamsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -779,7 +779,7 @@ class PassiveParamsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -797,17 +797,17 @@ class PassiveParamsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -819,7 +819,7 @@ class PassiveParamsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -960,7 +960,7 @@ class PassiveParamsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -975,31 +975,31 @@ class PassiveParamsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1012,7 +1012,7 @@ class PassiveParamsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1025,7 +1025,7 @@ class PassiveParamsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1038,7 +1038,7 @@ class PassiveParamsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index 0ff7380ca..3dd86f2da 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveSerialComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveSerialComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -72,8 +72,8 @@ void PassiveSerialComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -96,8 +96,8 @@ void PassiveSerialComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -120,8 +120,8 @@ void PassiveSerialComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -144,8 +144,8 @@ void PassiveSerialComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -168,8 +168,8 @@ void PassiveSerialComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -192,8 +192,8 @@ void PassiveSerialComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -216,8 +216,8 @@ void PassiveSerialComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -240,8 +240,8 @@ void PassiveSerialComponentBase :: // Connect input port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialGuarded_InputPorts()); port++ ) { this->m_serialGuarded_InputPort[port].init(); @@ -264,8 +264,8 @@ void PassiveSerialComponentBase :: // Connect input port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialSync_InputPorts()); port++ ) { this->m_serialSync_InputPort[port].init(); @@ -288,8 +288,8 @@ void PassiveSerialComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -307,8 +307,8 @@ void PassiveSerialComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -326,8 +326,8 @@ void PassiveSerialComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -345,8 +345,8 @@ void PassiveSerialComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -364,8 +364,8 @@ void PassiveSerialComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -384,8 +384,8 @@ void PassiveSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -404,8 +404,8 @@ void PassiveSerialComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -423,8 +423,8 @@ void PassiveSerialComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -442,8 +442,8 @@ void PassiveSerialComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -461,8 +461,8 @@ void PassiveSerialComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -480,8 +480,8 @@ void PassiveSerialComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -499,8 +499,8 @@ void PassiveSerialComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -518,8 +518,8 @@ void PassiveSerialComponentBase :: // Connect output port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialOut_OutputPorts()); port++ ) { this->m_serialOut_OutputPort[port].init(); @@ -541,7 +541,7 @@ void PassiveSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveSerialComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -556,7 +556,7 @@ Fw::InputCmdPort* PassiveSerialComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveSerialComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -567,7 +567,7 @@ Ports::InputNoArgsPort* PassiveSerialComponentBase :: } Ports::InputNoArgsReturnPort* PassiveSerialComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -578,7 +578,7 @@ Ports::InputNoArgsReturnPort* PassiveSerialComponentBase :: } Ports::InputNoArgsReturnPort* PassiveSerialComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -589,7 +589,7 @@ Ports::InputNoArgsReturnPort* PassiveSerialComponentBase :: } Ports::InputNoArgsPort* PassiveSerialComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -600,7 +600,7 @@ Ports::InputNoArgsPort* PassiveSerialComponentBase :: } Ports::InputTypedPort* PassiveSerialComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -611,7 +611,7 @@ Ports::InputTypedPort* PassiveSerialComponentBase :: } Ports::InputTypedReturnPort* PassiveSerialComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -622,7 +622,7 @@ Ports::InputTypedReturnPort* PassiveSerialComponentBase :: } Ports::InputTypedReturnPort* PassiveSerialComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -633,7 +633,7 @@ Ports::InputTypedReturnPort* PassiveSerialComponentBase :: } Ports::InputTypedPort* PassiveSerialComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -648,7 +648,7 @@ Ports::InputTypedPort* PassiveSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputSerializePort* PassiveSerialComponentBase :: - get_serialGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_serialGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialGuarded_InputPorts(), @@ -659,7 +659,7 @@ Fw::InputSerializePort* PassiveSerialComponentBase :: } Fw::InputSerializePort* PassiveSerialComponentBase :: - get_serialSync_InputPort(NATIVE_INT_TYPE portNum) + get_serialSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialSync_InputPorts(), @@ -675,7 +675,7 @@ Fw::InputSerializePort* PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -689,7 +689,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -703,7 +703,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -717,7 +717,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -731,7 +731,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -747,7 +747,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -763,7 +763,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -777,7 +777,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -795,7 +795,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -809,7 +809,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -823,7 +823,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -837,7 +837,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -857,7 +857,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -871,7 +871,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -885,7 +885,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -899,7 +899,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -915,7 +915,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -931,7 +931,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -945,7 +945,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -967,7 +967,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -981,7 +981,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1003,7 +1003,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPortBase* port ) { @@ -1508,7 +1508,7 @@ NATIVE_INT_TYPE PassiveSerialComponentBase :: // ---------------------------------------------------------------------- bool PassiveSerialComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1519,7 +1519,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1530,7 +1530,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1541,7 +1541,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1552,7 +1552,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1565,7 +1565,7 @@ bool PassiveSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveSerialComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1578,7 +1578,7 @@ bool PassiveSerialComponentBase :: #endif bool PassiveSerialComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1589,7 +1589,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1604,7 +1604,7 @@ bool PassiveSerialComponentBase :: // ---------------------------------------------------------------------- bool PassiveSerialComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1615,7 +1615,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1626,7 +1626,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1637,7 +1637,7 @@ bool PassiveSerialComponentBase :: } bool PassiveSerialComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1652,7 +1652,7 @@ bool PassiveSerialComponentBase :: // ---------------------------------------------------------------------- bool PassiveSerialComponentBase :: - isConnected_serialOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_serialOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialOut_OutputPorts(), @@ -1669,7 +1669,7 @@ bool PassiveSerialComponentBase :: // ---------------------------------------------------------------------- void PassiveSerialComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1688,7 +1688,7 @@ void PassiveSerialComponentBase :: } U32 PassiveSerialComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1711,7 +1711,7 @@ U32 PassiveSerialComponentBase :: } U32 PassiveSerialComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1728,7 +1728,7 @@ U32 PassiveSerialComponentBase :: } void PassiveSerialComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1742,7 +1742,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1779,7 +1779,7 @@ void PassiveSerialComponentBase :: F32 PassiveSerialComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1820,7 +1820,7 @@ F32 PassiveSerialComponentBase :: F32 PassiveSerialComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1855,7 +1855,7 @@ F32 PassiveSerialComponentBase :: void PassiveSerialComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1892,7 +1892,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1917,7 +1917,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: serialSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1939,7 +1939,7 @@ void PassiveSerialComponentBase :: // ---------------------------------------------------------------------- void PassiveSerialComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1949,7 +1949,7 @@ void PassiveSerialComponentBase :: } U32 PassiveSerialComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1960,7 +1960,7 @@ U32 PassiveSerialComponentBase :: void PassiveSerialComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1987,7 +1987,7 @@ void PassiveSerialComponentBase :: F32 PassiveSerialComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2018,7 +2018,7 @@ F32 PassiveSerialComponentBase :: Fw::SerializeStatus PassiveSerialComponentBase :: serialOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3901,7 +3901,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -4152,7 +4152,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4163,7 +4163,7 @@ void PassiveSerialComponentBase :: U32 PassiveSerialComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4174,7 +4174,7 @@ U32 PassiveSerialComponentBase :: U32 PassiveSerialComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4185,7 +4185,7 @@ U32 PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4196,7 +4196,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4223,7 +4223,7 @@ void PassiveSerialComponentBase :: F32 PassiveSerialComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4250,7 +4250,7 @@ F32 PassiveSerialComponentBase :: F32 PassiveSerialComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4277,7 +4277,7 @@ F32 PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4310,7 +4310,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -4325,7 +4325,7 @@ void PassiveSerialComponentBase :: void PassiveSerialComponentBase :: m_p_serialSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index 13bc9b696..f0db8761e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -202,7 +202,7 @@ class PassiveSerialComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -215,56 +215,56 @@ class PassiveSerialComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -277,14 +277,14 @@ class PassiveSerialComponentBase : //! //! \return serialGuarded[portNum] Fw::InputSerializePort* get_serialGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialSync[portNum] Fw::InputSerializePort* get_serialSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -295,31 +295,31 @@ class PassiveSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -327,7 +327,7 @@ class PassiveSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -335,13 +335,13 @@ class PassiveSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -353,25 +353,25 @@ class PassiveSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -385,25 +385,25 @@ class PassiveSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -411,7 +411,7 @@ class PassiveSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -419,13 +419,13 @@ class PassiveSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -441,13 +441,13 @@ class PassiveSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -463,7 +463,7 @@ class PassiveSerialComponentBase : //! Connect port to serialOut[portNum] void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPortBase* port //!< The port ); @@ -675,35 +675,35 @@ class PassiveSerialComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -712,7 +712,7 @@ class PassiveSerialComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -721,14 +721,14 @@ class PassiveSerialComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -741,28 +741,28 @@ class PassiveSerialComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -775,7 +775,7 @@ class PassiveSerialComponentBase : //! //! \return Whether port serialOut is connected bool isConnected_serialOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -786,27 +786,27 @@ class PassiveSerialComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -818,7 +818,7 @@ class PassiveSerialComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -830,7 +830,7 @@ class PassiveSerialComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -842,7 +842,7 @@ class PassiveSerialComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -862,27 +862,27 @@ class PassiveSerialComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class PassiveSerialComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class PassiveSerialComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class PassiveSerialComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -936,13 +936,13 @@ class PassiveSerialComponentBase : //! Handler for input port serialGuarded virtual void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialSync virtual void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -956,13 +956,13 @@ class PassiveSerialComponentBase : //! Handler base-class function for input port serialGuarded void serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialSync void serialSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -974,17 +974,17 @@ class PassiveSerialComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -996,7 +996,7 @@ class PassiveSerialComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1014,7 +1014,7 @@ class PassiveSerialComponentBase : //! Invoke output port serialOut Fw::SerializeStatus serialOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -1546,7 +1546,7 @@ class PassiveSerialComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1561,31 +1561,31 @@ class PassiveSerialComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1598,7 +1598,7 @@ class PassiveSerialComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1611,7 +1611,7 @@ class PassiveSerialComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1624,7 +1624,7 @@ class PassiveSerialComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1645,14 +1645,14 @@ class PassiveSerialComponentBase : //! Callback for port serialGuarded static void m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialSync static void m_p_serialSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp index 811829fc2..db330fecb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveSyncProductPortsOnlyComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveSyncProductPortsOnlyComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -67,8 +67,8 @@ void PassiveSyncProductPortsOnlyComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -90,7 +90,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- Fw::InputDpResponsePort* PassiveSyncProductPortsOnlyComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -106,7 +106,7 @@ Fw::InputDpResponsePort* PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -120,7 +120,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -140,7 +140,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -154,7 +154,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -216,7 +216,7 @@ NATIVE_INT_TYPE PassiveSyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool PassiveSyncProductPortsOnlyComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -227,7 +227,7 @@ bool PassiveSyncProductPortsOnlyComponentBase :: } bool PassiveSyncProductPortsOnlyComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -245,7 +245,7 @@ bool PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -276,7 +276,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -291,7 +291,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -308,7 +308,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -330,7 +330,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -352,7 +352,7 @@ void PassiveSyncProductPortsOnlyComponentBase :: void PassiveSyncProductPortsOnlyComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp index bb7e827ce..1a899b47c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp @@ -68,7 +68,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -79,13 +79,13 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -99,13 +99,13 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -162,14 +162,14 @@ class PassiveSyncProductPortsOnlyComponentBase : //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -182,7 +182,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -200,7 +200,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -214,14 +214,14 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -235,7 +235,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -249,7 +249,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp index c7bb9e146..69e57f456 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp @@ -179,8 +179,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -203,8 +203,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -227,8 +227,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -251,8 +251,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -275,8 +275,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -299,8 +299,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -323,8 +323,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -347,8 +347,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -371,8 +371,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -395,8 +395,8 @@ void PassiveSyncProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -419,8 +419,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -438,8 +438,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -457,8 +457,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -476,8 +476,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -495,8 +495,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -533,8 +533,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void PassiveSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -573,8 +573,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -592,8 +592,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -611,8 +611,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -630,8 +630,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -649,8 +649,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -668,8 +668,8 @@ void PassiveSyncProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -691,7 +691,7 @@ void PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveSyncProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -702,7 +702,7 @@ Fw::InputCmdPort* PassiveSyncProductsComponentBase :: } Fw::InputDpResponsePort* PassiveSyncProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -717,7 +717,7 @@ Fw::InputDpResponsePort* PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveSyncProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -728,7 +728,7 @@ Ports::InputNoArgsPort* PassiveSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveSyncProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -739,7 +739,7 @@ Ports::InputNoArgsReturnPort* PassiveSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* PassiveSyncProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -750,7 +750,7 @@ Ports::InputNoArgsReturnPort* PassiveSyncProductsComponentBase :: } Ports::InputNoArgsPort* PassiveSyncProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -761,7 +761,7 @@ Ports::InputNoArgsPort* PassiveSyncProductsComponentBase :: } Ports::InputTypedPort* PassiveSyncProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -772,7 +772,7 @@ Ports::InputTypedPort* PassiveSyncProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveSyncProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -783,7 +783,7 @@ Ports::InputTypedReturnPort* PassiveSyncProductsComponentBase :: } Ports::InputTypedReturnPort* PassiveSyncProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -794,7 +794,7 @@ Ports::InputTypedReturnPort* PassiveSyncProductsComponentBase :: } Ports::InputTypedPort* PassiveSyncProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -810,7 +810,7 @@ Ports::InputTypedPort* PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -824,7 +824,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -838,7 +838,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -852,7 +852,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -866,7 +866,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -880,7 +880,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -894,7 +894,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -910,7 +910,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -926,7 +926,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -940,7 +940,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -958,7 +958,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -972,7 +972,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -986,7 +986,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1000,7 +1000,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1020,7 +1020,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1062,7 +1062,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1076,7 +1076,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1090,7 +1090,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1106,7 +1106,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1122,7 +1122,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1136,7 +1136,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1158,7 +1158,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1172,7 +1172,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1372,7 +1372,7 @@ NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveSyncProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1383,7 +1383,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1394,7 +1394,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1405,7 +1405,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1416,7 +1416,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1427,7 +1427,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1438,7 +1438,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1451,7 +1451,7 @@ bool PassiveSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveSyncProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1464,7 +1464,7 @@ bool PassiveSyncProductsComponentBase :: #endif bool PassiveSyncProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1475,7 +1475,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1490,7 +1490,7 @@ bool PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool PassiveSyncProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1501,7 +1501,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1512,7 +1512,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1523,7 +1523,7 @@ bool PassiveSyncProductsComponentBase :: } bool PassiveSyncProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1541,7 +1541,7 @@ bool PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1569,7 +1569,7 @@ void PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveSyncProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1588,7 +1588,7 @@ void PassiveSyncProductsComponentBase :: } U32 PassiveSyncProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1611,7 +1611,7 @@ U32 PassiveSyncProductsComponentBase :: } U32 PassiveSyncProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1628,7 +1628,7 @@ U32 PassiveSyncProductsComponentBase :: } void PassiveSyncProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1642,7 +1642,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1679,7 +1679,7 @@ void PassiveSyncProductsComponentBase :: F32 PassiveSyncProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1720,7 +1720,7 @@ F32 PassiveSyncProductsComponentBase :: F32 PassiveSyncProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1755,7 +1755,7 @@ F32 PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1794,7 +1794,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1809,7 +1809,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1826,7 +1826,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1846,7 +1846,7 @@ void PassiveSyncProductsComponentBase :: // ---------------------------------------------------------------------- void PassiveSyncProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1856,7 +1856,7 @@ void PassiveSyncProductsComponentBase :: } U32 PassiveSyncProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1867,7 +1867,7 @@ U32 PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1894,7 +1894,7 @@ void PassiveSyncProductsComponentBase :: F32 PassiveSyncProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1991,7 +1991,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -2006,7 +2006,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2029,7 +2029,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2040,7 +2040,7 @@ void PassiveSyncProductsComponentBase :: U32 PassiveSyncProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2051,7 +2051,7 @@ U32 PassiveSyncProductsComponentBase :: U32 PassiveSyncProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2062,7 +2062,7 @@ U32 PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2073,7 +2073,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2100,7 +2100,7 @@ void PassiveSyncProductsComponentBase :: F32 PassiveSyncProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2127,7 +2127,7 @@ F32 PassiveSyncProductsComponentBase :: F32 PassiveSyncProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2154,7 +2154,7 @@ F32 PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2195,7 +2195,7 @@ void PassiveSyncProductsComponentBase :: void PassiveSyncProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp index 6a4b5181f..472bd4b4a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp @@ -217,14 +217,14 @@ class PassiveSyncProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -237,56 +237,56 @@ class PassiveSyncProductsComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -297,43 +297,43 @@ class PassiveSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -341,7 +341,7 @@ class PassiveSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -349,13 +349,13 @@ class PassiveSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -367,25 +367,25 @@ class PassiveSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -399,37 +399,37 @@ class PassiveSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -437,7 +437,7 @@ class PassiveSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -445,13 +445,13 @@ class PassiveSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -467,13 +467,13 @@ class PassiveSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -651,49 +651,49 @@ class PassiveSyncProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -702,7 +702,7 @@ class PassiveSyncProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -711,14 +711,14 @@ class PassiveSyncProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -731,28 +731,28 @@ class PassiveSyncProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -765,7 +765,7 @@ class PassiveSyncProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -779,27 +779,27 @@ class PassiveSyncProductsComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -811,7 +811,7 @@ class PassiveSyncProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -823,7 +823,7 @@ class PassiveSyncProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -835,7 +835,7 @@ class PassiveSyncProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -855,27 +855,27 @@ class PassiveSyncProductsComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -887,7 +887,7 @@ class PassiveSyncProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -899,7 +899,7 @@ class PassiveSyncProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -911,7 +911,7 @@ class PassiveSyncProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -933,7 +933,7 @@ class PassiveSyncProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -947,14 +947,14 @@ class PassiveSyncProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -967,17 +967,17 @@ class PassiveSyncProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -989,7 +989,7 @@ class PassiveSyncProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1117,7 +1117,7 @@ class PassiveSyncProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1126,7 +1126,7 @@ class PassiveSyncProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1141,31 +1141,31 @@ class PassiveSyncProductsComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1178,7 +1178,7 @@ class PassiveSyncProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1191,7 +1191,7 @@ class PassiveSyncProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1204,7 +1204,7 @@ class PassiveSyncProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1228,7 +1228,7 @@ class PassiveSyncProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp index 286e5c6b8..94dc7a1de 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp @@ -24,8 +24,8 @@ void PassiveTelemetryComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -48,8 +48,8 @@ void PassiveTelemetryComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -72,8 +72,8 @@ void PassiveTelemetryComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -96,8 +96,8 @@ void PassiveTelemetryComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -120,8 +120,8 @@ void PassiveTelemetryComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -144,8 +144,8 @@ void PassiveTelemetryComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -168,8 +168,8 @@ void PassiveTelemetryComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -192,8 +192,8 @@ void PassiveTelemetryComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -216,8 +216,8 @@ void PassiveTelemetryComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -240,8 +240,8 @@ void PassiveTelemetryComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -259,8 +259,8 @@ void PassiveTelemetryComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -278,8 +278,8 @@ void PassiveTelemetryComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -297,8 +297,8 @@ void PassiveTelemetryComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -316,8 +316,8 @@ void PassiveTelemetryComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -336,8 +336,8 @@ void PassiveTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -356,8 +356,8 @@ void PassiveTelemetryComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -375,8 +375,8 @@ void PassiveTelemetryComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -394,8 +394,8 @@ void PassiveTelemetryComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -413,8 +413,8 @@ void PassiveTelemetryComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -432,8 +432,8 @@ void PassiveTelemetryComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -451,8 +451,8 @@ void PassiveTelemetryComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -474,7 +474,7 @@ void PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveTelemetryComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -489,7 +489,7 @@ Fw::InputCmdPort* PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveTelemetryComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -500,7 +500,7 @@ Ports::InputNoArgsPort* PassiveTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* PassiveTelemetryComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -511,7 +511,7 @@ Ports::InputNoArgsReturnPort* PassiveTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* PassiveTelemetryComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -522,7 +522,7 @@ Ports::InputNoArgsReturnPort* PassiveTelemetryComponentBase :: } Ports::InputNoArgsPort* PassiveTelemetryComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -533,7 +533,7 @@ Ports::InputNoArgsPort* PassiveTelemetryComponentBase :: } Ports::InputTypedPort* PassiveTelemetryComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -544,7 +544,7 @@ Ports::InputTypedPort* PassiveTelemetryComponentBase :: } Ports::InputTypedReturnPort* PassiveTelemetryComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -555,7 +555,7 @@ Ports::InputTypedReturnPort* PassiveTelemetryComponentBase :: } Ports::InputTypedReturnPort* PassiveTelemetryComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -566,7 +566,7 @@ Ports::InputTypedReturnPort* PassiveTelemetryComponentBase :: } Ports::InputTypedPort* PassiveTelemetryComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -582,7 +582,7 @@ Ports::InputTypedPort* PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -596,7 +596,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -610,7 +610,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -624,7 +624,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -638,7 +638,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -654,7 +654,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -670,7 +670,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -684,7 +684,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -702,7 +702,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -716,7 +716,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -730,7 +730,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -744,7 +744,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -764,7 +764,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -778,7 +778,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -792,7 +792,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -806,7 +806,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -822,7 +822,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -838,7 +838,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -852,7 +852,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -874,7 +874,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -888,7 +888,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1075,7 +1075,7 @@ NATIVE_INT_TYPE PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- bool PassiveTelemetryComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1086,7 +1086,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1097,7 +1097,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1108,7 +1108,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1119,7 +1119,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1132,7 +1132,7 @@ bool PassiveTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveTelemetryComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1145,7 +1145,7 @@ bool PassiveTelemetryComponentBase :: #endif bool PassiveTelemetryComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1156,7 +1156,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1171,7 +1171,7 @@ bool PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- bool PassiveTelemetryComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1182,7 +1182,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1193,7 +1193,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1204,7 +1204,7 @@ bool PassiveTelemetryComponentBase :: } bool PassiveTelemetryComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1221,7 +1221,7 @@ bool PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- void PassiveTelemetryComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1240,7 +1240,7 @@ void PassiveTelemetryComponentBase :: } U32 PassiveTelemetryComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1263,7 +1263,7 @@ U32 PassiveTelemetryComponentBase :: } U32 PassiveTelemetryComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1280,7 +1280,7 @@ U32 PassiveTelemetryComponentBase :: } void PassiveTelemetryComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1294,7 +1294,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1331,7 +1331,7 @@ void PassiveTelemetryComponentBase :: F32 PassiveTelemetryComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1372,7 +1372,7 @@ F32 PassiveTelemetryComponentBase :: F32 PassiveTelemetryComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1407,7 +1407,7 @@ F32 PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1441,7 +1441,7 @@ void PassiveTelemetryComponentBase :: // ---------------------------------------------------------------------- void PassiveTelemetryComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1451,7 +1451,7 @@ void PassiveTelemetryComponentBase :: } U32 PassiveTelemetryComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1462,7 +1462,7 @@ U32 PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1489,7 +1489,7 @@ void PassiveTelemetryComponentBase :: F32 PassiveTelemetryComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1954,7 +1954,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -1973,7 +1973,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1984,7 +1984,7 @@ void PassiveTelemetryComponentBase :: U32 PassiveTelemetryComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -1995,7 +1995,7 @@ U32 PassiveTelemetryComponentBase :: U32 PassiveTelemetryComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2006,7 +2006,7 @@ U32 PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -2017,7 +2017,7 @@ void PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2044,7 +2044,7 @@ void PassiveTelemetryComponentBase :: F32 PassiveTelemetryComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2071,7 +2071,7 @@ F32 PassiveTelemetryComponentBase :: F32 PassiveTelemetryComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2098,7 +2098,7 @@ F32 PassiveTelemetryComponentBase :: void PassiveTelemetryComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp index 52bc1654a..ca6cdab7d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp @@ -126,7 +126,7 @@ class PassiveTelemetryComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -139,56 +139,56 @@ class PassiveTelemetryComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -199,31 +199,31 @@ class PassiveTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -231,7 +231,7 @@ class PassiveTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -239,13 +239,13 @@ class PassiveTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -257,25 +257,25 @@ class PassiveTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -289,25 +289,25 @@ class PassiveTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -315,7 +315,7 @@ class PassiveTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -323,13 +323,13 @@ class PassiveTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -345,13 +345,13 @@ class PassiveTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -514,35 +514,35 @@ class PassiveTelemetryComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -551,7 +551,7 @@ class PassiveTelemetryComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -560,14 +560,14 @@ class PassiveTelemetryComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -580,28 +580,28 @@ class PassiveTelemetryComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -612,27 +612,27 @@ class PassiveTelemetryComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -644,7 +644,7 @@ class PassiveTelemetryComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -656,7 +656,7 @@ class PassiveTelemetryComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -668,7 +668,7 @@ class PassiveTelemetryComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -688,27 +688,27 @@ class PassiveTelemetryComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -720,7 +720,7 @@ class PassiveTelemetryComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,7 +732,7 @@ class PassiveTelemetryComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -744,7 +744,7 @@ class PassiveTelemetryComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -762,17 +762,17 @@ class PassiveTelemetryComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -784,7 +784,7 @@ class PassiveTelemetryComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -923,7 +923,7 @@ class PassiveTelemetryComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -938,31 +938,31 @@ class PassiveTelemetryComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -975,7 +975,7 @@ class PassiveTelemetryComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -988,7 +988,7 @@ class PassiveTelemetryComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1001,7 +1001,7 @@ class PassiveTelemetryComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp index e2c720de1..6ec6076f7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp @@ -179,8 +179,8 @@ void PassiveTestComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -203,8 +203,8 @@ void PassiveTestComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -227,8 +227,8 @@ void PassiveTestComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -251,8 +251,8 @@ void PassiveTestComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -275,8 +275,8 @@ void PassiveTestComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -299,8 +299,8 @@ void PassiveTestComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -323,8 +323,8 @@ void PassiveTestComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -347,8 +347,8 @@ void PassiveTestComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -371,8 +371,8 @@ void PassiveTestComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -395,8 +395,8 @@ void PassiveTestComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -419,8 +419,8 @@ void PassiveTestComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -438,8 +438,8 @@ void PassiveTestComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -457,8 +457,8 @@ void PassiveTestComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -476,8 +476,8 @@ void PassiveTestComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -495,8 +495,8 @@ void PassiveTestComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void PassiveTestComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -533,8 +533,8 @@ void PassiveTestComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void PassiveTestComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -573,8 +573,8 @@ void PassiveTestComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -592,8 +592,8 @@ void PassiveTestComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -611,8 +611,8 @@ void PassiveTestComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -630,8 +630,8 @@ void PassiveTestComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -649,8 +649,8 @@ void PassiveTestComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -668,8 +668,8 @@ void PassiveTestComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -691,7 +691,7 @@ void PassiveTestComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* PassiveTestComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -702,7 +702,7 @@ Fw::InputCmdPort* PassiveTestComponentBase :: } Fw::InputDpResponsePort* PassiveTestComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -717,7 +717,7 @@ Fw::InputDpResponsePort* PassiveTestComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* PassiveTestComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -728,7 +728,7 @@ Ports::InputNoArgsPort* PassiveTestComponentBase :: } Ports::InputNoArgsReturnPort* PassiveTestComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -739,7 +739,7 @@ Ports::InputNoArgsReturnPort* PassiveTestComponentBase :: } Ports::InputNoArgsReturnPort* PassiveTestComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -750,7 +750,7 @@ Ports::InputNoArgsReturnPort* PassiveTestComponentBase :: } Ports::InputNoArgsPort* PassiveTestComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -761,7 +761,7 @@ Ports::InputNoArgsPort* PassiveTestComponentBase :: } Ports::InputTypedPort* PassiveTestComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -772,7 +772,7 @@ Ports::InputTypedPort* PassiveTestComponentBase :: } Ports::InputTypedReturnPort* PassiveTestComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -783,7 +783,7 @@ Ports::InputTypedReturnPort* PassiveTestComponentBase :: } Ports::InputTypedReturnPort* PassiveTestComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -794,7 +794,7 @@ Ports::InputTypedReturnPort* PassiveTestComponentBase :: } Ports::InputTypedPort* PassiveTestComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -810,7 +810,7 @@ Ports::InputTypedPort* PassiveTestComponentBase :: void PassiveTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -824,7 +824,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -838,7 +838,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -852,7 +852,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -866,7 +866,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -880,7 +880,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -894,7 +894,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -910,7 +910,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -926,7 +926,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -940,7 +940,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -958,7 +958,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -972,7 +972,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -986,7 +986,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1000,7 +1000,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1020,7 +1020,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1062,7 +1062,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1076,7 +1076,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1090,7 +1090,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1106,7 +1106,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1122,7 +1122,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1136,7 +1136,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1158,7 +1158,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1172,7 +1172,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1669,7 +1669,7 @@ NATIVE_INT_TYPE PassiveTestComponentBase :: // ---------------------------------------------------------------------- bool PassiveTestComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1680,7 +1680,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1691,7 +1691,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1702,7 +1702,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1713,7 +1713,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1724,7 +1724,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1735,7 +1735,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1748,7 +1748,7 @@ bool PassiveTestComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool PassiveTestComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1761,7 +1761,7 @@ bool PassiveTestComponentBase :: #endif bool PassiveTestComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1772,7 +1772,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1787,7 +1787,7 @@ bool PassiveTestComponentBase :: // ---------------------------------------------------------------------- bool PassiveTestComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1798,7 +1798,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1809,7 +1809,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1820,7 +1820,7 @@ bool PassiveTestComponentBase :: } bool PassiveTestComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1838,7 +1838,7 @@ bool PassiveTestComponentBase :: void PassiveTestComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1866,7 +1866,7 @@ void PassiveTestComponentBase :: // ---------------------------------------------------------------------- void PassiveTestComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1885,7 +1885,7 @@ void PassiveTestComponentBase :: } U32 PassiveTestComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1908,7 +1908,7 @@ U32 PassiveTestComponentBase :: } U32 PassiveTestComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1925,7 +1925,7 @@ U32 PassiveTestComponentBase :: } void PassiveTestComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1939,7 +1939,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1976,7 +1976,7 @@ void PassiveTestComponentBase :: F32 PassiveTestComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2017,7 +2017,7 @@ F32 PassiveTestComponentBase :: F32 PassiveTestComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2052,7 +2052,7 @@ F32 PassiveTestComponentBase :: void PassiveTestComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2091,7 +2091,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2106,7 +2106,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2123,7 +2123,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2143,7 +2143,7 @@ void PassiveTestComponentBase :: // ---------------------------------------------------------------------- void PassiveTestComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2153,7 +2153,7 @@ void PassiveTestComponentBase :: } U32 PassiveTestComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2164,7 +2164,7 @@ U32 PassiveTestComponentBase :: void PassiveTestComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2191,7 +2191,7 @@ void PassiveTestComponentBase :: F32 PassiveTestComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4115,7 +4115,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -4362,7 +4362,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -4385,7 +4385,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4396,7 +4396,7 @@ void PassiveTestComponentBase :: U32 PassiveTestComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4407,7 +4407,7 @@ U32 PassiveTestComponentBase :: U32 PassiveTestComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4418,7 +4418,7 @@ U32 PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4429,7 +4429,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4456,7 +4456,7 @@ void PassiveTestComponentBase :: F32 PassiveTestComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4483,7 +4483,7 @@ F32 PassiveTestComponentBase :: F32 PassiveTestComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4510,7 +4510,7 @@ F32 PassiveTestComponentBase :: void PassiveTestComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4853,7 +4853,7 @@ void PassiveTestComponentBase :: void PassiveTestComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp index afdebf884..fb218dc65 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp @@ -296,14 +296,14 @@ class PassiveTestComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -316,56 +316,56 @@ class PassiveTestComponentBase : //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -376,43 +376,43 @@ class PassiveTestComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -420,7 +420,7 @@ class PassiveTestComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -428,13 +428,13 @@ class PassiveTestComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -446,25 +446,25 @@ class PassiveTestComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -478,37 +478,37 @@ class PassiveTestComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -516,7 +516,7 @@ class PassiveTestComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -524,13 +524,13 @@ class PassiveTestComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -546,13 +546,13 @@ class PassiveTestComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -752,49 +752,49 @@ class PassiveTestComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -803,7 +803,7 @@ class PassiveTestComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -812,14 +812,14 @@ class PassiveTestComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -832,28 +832,28 @@ class PassiveTestComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -866,7 +866,7 @@ class PassiveTestComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -880,27 +880,27 @@ class PassiveTestComponentBase : //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -912,7 +912,7 @@ class PassiveTestComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -924,7 +924,7 @@ class PassiveTestComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -936,7 +936,7 @@ class PassiveTestComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -956,27 +956,27 @@ class PassiveTestComponentBase : //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -988,7 +988,7 @@ class PassiveTestComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1000,7 +1000,7 @@ class PassiveTestComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1012,7 +1012,7 @@ class PassiveTestComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1034,7 +1034,7 @@ class PassiveTestComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1048,14 +1048,14 @@ class PassiveTestComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1068,17 +1068,17 @@ class PassiveTestComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1090,7 +1090,7 @@ class PassiveTestComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1711,7 +1711,7 @@ class PassiveTestComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1720,7 +1720,7 @@ class PassiveTestComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1735,31 +1735,31 @@ class PassiveTestComponentBase : //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1772,7 +1772,7 @@ class PassiveTestComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1785,7 +1785,7 @@ class PassiveTestComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1798,7 +1798,7 @@ class PassiveTestComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1906,7 +1906,7 @@ class PassiveTestComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp index 947625d7b..08ffeb73b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp @@ -37,10 +37,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,8 +74,8 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -98,8 +98,8 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -117,8 +117,8 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -149,7 +149,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- Fw::InputDpResponsePort* QueuedAsyncProductPortsOnlyComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -165,7 +165,7 @@ Fw::InputDpResponsePort* QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -179,7 +179,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -199,7 +199,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -213,7 +213,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -275,7 +275,7 @@ NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool QueuedAsyncProductPortsOnlyComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -286,7 +286,7 @@ bool QueuedAsyncProductPortsOnlyComponentBase :: } bool QueuedAsyncProductPortsOnlyComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -304,7 +304,7 @@ bool QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -383,7 +383,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -398,7 +398,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -415,7 +415,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -471,7 +471,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductPortsOnlyComponentB return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -529,7 +529,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductPortsOnlyComponentB void QueuedAsyncProductPortsOnlyComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -551,7 +551,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: void QueuedAsyncProductPortsOnlyComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp index 9bfb054c0..5fa2d6c25 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp @@ -69,7 +69,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -80,13 +80,13 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -100,13 +100,13 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -163,14 +163,14 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -183,7 +183,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -201,7 +201,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -215,14 +215,14 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -245,7 +245,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -259,7 +259,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp index 169863c68..40eec69a4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp @@ -47,10 +47,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -239,8 +239,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -263,8 +263,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -287,8 +287,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -311,8 +311,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -335,8 +335,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -359,8 +359,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -383,8 +383,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -407,8 +407,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -431,8 +431,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -455,8 +455,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -479,8 +479,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -503,8 +503,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -527,8 +527,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -551,8 +551,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -575,8 +575,8 @@ void QueuedAsyncProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -599,8 +599,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -618,8 +618,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -637,8 +637,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -656,8 +656,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -675,8 +675,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -694,8 +694,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -713,8 +713,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -733,8 +733,8 @@ void QueuedAsyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -753,8 +753,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -772,8 +772,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -791,8 +791,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -810,8 +810,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -829,8 +829,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -848,8 +848,8 @@ void QueuedAsyncProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -880,7 +880,7 @@ void QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedAsyncProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -891,7 +891,7 @@ Fw::InputCmdPort* QueuedAsyncProductsComponentBase :: } Fw::InputDpResponsePort* QueuedAsyncProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -906,7 +906,7 @@ Fw::InputDpResponsePort* QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -917,7 +917,7 @@ Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: } Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -928,7 +928,7 @@ Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedAsyncProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -939,7 +939,7 @@ Ports::InputNoArgsReturnPort* QueuedAsyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedAsyncProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -950,7 +950,7 @@ Ports::InputNoArgsReturnPort* QueuedAsyncProductsComponentBase :: } Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -961,7 +961,7 @@ Ports::InputNoArgsPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -972,7 +972,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -983,7 +983,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -994,7 +994,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1005,7 +1005,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1016,7 +1016,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedAsyncProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1027,7 +1027,7 @@ Ports::InputTypedReturnPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedAsyncProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1038,7 +1038,7 @@ Ports::InputTypedReturnPort* QueuedAsyncProductsComponentBase :: } Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1054,7 +1054,7 @@ Ports::InputTypedPort* QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1068,7 +1068,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1082,7 +1082,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1096,7 +1096,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1110,7 +1110,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1124,7 +1124,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1138,7 +1138,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1154,7 +1154,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1170,7 +1170,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1184,7 +1184,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1202,7 +1202,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1216,7 +1216,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1230,7 +1230,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1244,7 +1244,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1264,7 +1264,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1278,7 +1278,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1292,7 +1292,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1306,7 +1306,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1320,7 +1320,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1334,7 +1334,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1350,7 +1350,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1366,7 +1366,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1380,7 +1380,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1402,7 +1402,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1416,7 +1416,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1646,7 +1646,7 @@ NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedAsyncProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1657,7 +1657,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1668,7 +1668,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1679,7 +1679,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1690,7 +1690,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1701,7 +1701,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1712,7 +1712,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1725,7 +1725,7 @@ bool QueuedAsyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedAsyncProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1738,7 +1738,7 @@ bool QueuedAsyncProductsComponentBase :: #endif bool QueuedAsyncProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1749,7 +1749,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1764,7 +1764,7 @@ bool QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedAsyncProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1775,7 +1775,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1786,7 +1786,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1797,7 +1797,7 @@ bool QueuedAsyncProductsComponentBase :: } bool QueuedAsyncProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1815,7 +1815,7 @@ bool QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1891,7 +1891,7 @@ void QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedAsyncProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1931,7 +1931,7 @@ void QueuedAsyncProductsComponentBase :: } void QueuedAsyncProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1950,7 +1950,7 @@ void QueuedAsyncProductsComponentBase :: } U32 QueuedAsyncProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1973,7 +1973,7 @@ U32 QueuedAsyncProductsComponentBase :: } U32 QueuedAsyncProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1990,7 +1990,7 @@ U32 QueuedAsyncProductsComponentBase :: } void QueuedAsyncProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2004,7 +2004,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2111,7 +2111,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2218,7 +2218,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2325,7 +2325,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2437,7 +2437,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2474,7 +2474,7 @@ void QueuedAsyncProductsComponentBase :: F32 QueuedAsyncProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2515,7 +2515,7 @@ F32 QueuedAsyncProductsComponentBase :: F32 QueuedAsyncProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2550,7 +2550,7 @@ F32 QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2589,7 +2589,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2607,14 +2607,14 @@ void QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedAsyncProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedAsyncProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2629,7 +2629,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2644,7 +2644,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2659,7 +2659,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2678,7 +2678,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2695,7 +2695,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2715,7 +2715,7 @@ void QueuedAsyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedAsyncProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2725,7 +2725,7 @@ void QueuedAsyncProductsComponentBase :: } U32 QueuedAsyncProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2736,7 +2736,7 @@ U32 QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2763,7 +2763,7 @@ void QueuedAsyncProductsComponentBase :: F32 QueuedAsyncProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2889,7 +2889,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3243,7 +3243,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3258,7 +3258,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3281,7 +3281,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3292,7 +3292,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3303,7 +3303,7 @@ void QueuedAsyncProductsComponentBase :: U32 QueuedAsyncProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3314,7 +3314,7 @@ U32 QueuedAsyncProductsComponentBase :: U32 QueuedAsyncProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3325,7 +3325,7 @@ U32 QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3336,7 +3336,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3363,7 +3363,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3390,7 +3390,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3417,7 +3417,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3444,7 +3444,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3471,7 +3471,7 @@ void QueuedAsyncProductsComponentBase :: F32 QueuedAsyncProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3498,7 +3498,7 @@ F32 QueuedAsyncProductsComponentBase :: F32 QueuedAsyncProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3525,7 +3525,7 @@ F32 QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3566,7 +3566,7 @@ void QueuedAsyncProductsComponentBase :: void QueuedAsyncProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp index 0eb80747b..f0d948aab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class QueuedAsyncProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class QueuedAsyncProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class QueuedAsyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class QueuedAsyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class QueuedAsyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class QueuedAsyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class QueuedAsyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class QueuedAsyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class QueuedAsyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class QueuedAsyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class QueuedAsyncProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class QueuedAsyncProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class QueuedAsyncProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class QueuedAsyncProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class QueuedAsyncProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class QueuedAsyncProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class QueuedAsyncProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class QueuedAsyncProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class QueuedAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class QueuedAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class QueuedAsyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class QueuedAsyncProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class QueuedAsyncProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class QueuedAsyncProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class QueuedAsyncProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class QueuedAsyncProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class QueuedAsyncProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp index 11a8ef140..b6d70d51d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp @@ -50,10 +50,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -87,8 +87,8 @@ void QueuedCommandsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -111,8 +111,8 @@ void QueuedCommandsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -135,8 +135,8 @@ void QueuedCommandsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -159,8 +159,8 @@ void QueuedCommandsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -183,8 +183,8 @@ void QueuedCommandsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -207,8 +207,8 @@ void QueuedCommandsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -231,8 +231,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -255,8 +255,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -279,8 +279,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -303,8 +303,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -327,8 +327,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -351,8 +351,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -375,8 +375,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -399,8 +399,8 @@ void QueuedCommandsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -423,8 +423,8 @@ void QueuedCommandsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -442,8 +442,8 @@ void QueuedCommandsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -461,8 +461,8 @@ void QueuedCommandsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -480,8 +480,8 @@ void QueuedCommandsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -499,8 +499,8 @@ void QueuedCommandsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -519,8 +519,8 @@ void QueuedCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -539,8 +539,8 @@ void QueuedCommandsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -558,8 +558,8 @@ void QueuedCommandsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -577,8 +577,8 @@ void QueuedCommandsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -596,8 +596,8 @@ void QueuedCommandsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -615,8 +615,8 @@ void QueuedCommandsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -634,8 +634,8 @@ void QueuedCommandsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -666,7 +666,7 @@ void QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedCommandsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -681,7 +681,7 @@ Fw::InputCmdPort* QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedCommandsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -692,7 +692,7 @@ Ports::InputNoArgsPort* QueuedCommandsComponentBase :: } Ports::InputNoArgsPort* QueuedCommandsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -703,7 +703,7 @@ Ports::InputNoArgsPort* QueuedCommandsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedCommandsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -714,7 +714,7 @@ Ports::InputNoArgsReturnPort* QueuedCommandsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedCommandsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -725,7 +725,7 @@ Ports::InputNoArgsReturnPort* QueuedCommandsComponentBase :: } Ports::InputNoArgsPort* QueuedCommandsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -736,7 +736,7 @@ Ports::InputNoArgsPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -747,7 +747,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -758,7 +758,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -769,7 +769,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -780,7 +780,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -791,7 +791,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: } Ports::InputTypedReturnPort* QueuedCommandsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -802,7 +802,7 @@ Ports::InputTypedReturnPort* QueuedCommandsComponentBase :: } Ports::InputTypedReturnPort* QueuedCommandsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -813,7 +813,7 @@ Ports::InputTypedReturnPort* QueuedCommandsComponentBase :: } Ports::InputTypedPort* QueuedCommandsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -829,7 +829,7 @@ Ports::InputTypedPort* QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -843,7 +843,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -857,7 +857,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -871,7 +871,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -885,7 +885,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -901,7 +901,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -917,7 +917,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -931,7 +931,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -949,7 +949,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -963,7 +963,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -977,7 +977,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -991,7 +991,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1011,7 +1011,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1025,7 +1025,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1039,7 +1039,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1053,7 +1053,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1069,7 +1069,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1085,7 +1085,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1099,7 +1099,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1121,7 +1121,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1135,7 +1135,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1425,7 +1425,7 @@ NATIVE_INT_TYPE QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- bool QueuedCommandsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1436,7 +1436,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1447,7 +1447,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1458,7 +1458,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1469,7 +1469,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1482,7 +1482,7 @@ bool QueuedCommandsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedCommandsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1495,7 +1495,7 @@ bool QueuedCommandsComponentBase :: #endif bool QueuedCommandsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1506,7 +1506,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1521,7 +1521,7 @@ bool QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- bool QueuedCommandsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1532,7 +1532,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1543,7 +1543,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1554,7 +1554,7 @@ bool QueuedCommandsComponentBase :: } bool QueuedCommandsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1571,7 +1571,7 @@ bool QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- void QueuedCommandsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1611,7 +1611,7 @@ void QueuedCommandsComponentBase :: } void QueuedCommandsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1630,7 +1630,7 @@ void QueuedCommandsComponentBase :: } U32 QueuedCommandsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1653,7 +1653,7 @@ U32 QueuedCommandsComponentBase :: } U32 QueuedCommandsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1670,7 +1670,7 @@ U32 QueuedCommandsComponentBase :: } void QueuedCommandsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1684,7 +1684,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1791,7 +1791,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1898,7 +1898,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2005,7 +2005,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2117,7 +2117,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2154,7 +2154,7 @@ void QueuedCommandsComponentBase :: F32 QueuedCommandsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2195,7 +2195,7 @@ F32 QueuedCommandsComponentBase :: F32 QueuedCommandsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2230,7 +2230,7 @@ F32 QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2268,14 +2268,14 @@ void QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- void QueuedCommandsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedCommandsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2290,7 +2290,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2305,7 +2305,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2320,7 +2320,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2338,7 +2338,7 @@ void QueuedCommandsComponentBase :: // ---------------------------------------------------------------------- void QueuedCommandsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2348,7 +2348,7 @@ void QueuedCommandsComponentBase :: } U32 QueuedCommandsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2359,7 +2359,7 @@ U32 QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2386,7 +2386,7 @@ void QueuedCommandsComponentBase :: F32 QueuedCommandsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3083,7 +3083,7 @@ void QueuedCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3142,7 +3142,7 @@ void QueuedCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3201,7 +3201,7 @@ void QueuedCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3260,7 +3260,7 @@ void QueuedCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3324,7 +3324,7 @@ void QueuedCommandsComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -3505,7 +3505,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedCommandsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -4094,7 +4094,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -4270,7 +4270,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4281,7 +4281,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4292,7 +4292,7 @@ void QueuedCommandsComponentBase :: U32 QueuedCommandsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4303,7 +4303,7 @@ U32 QueuedCommandsComponentBase :: U32 QueuedCommandsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4314,7 +4314,7 @@ U32 QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -4325,7 +4325,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4352,7 +4352,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4379,7 +4379,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4406,7 +4406,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4433,7 +4433,7 @@ void QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4460,7 +4460,7 @@ void QueuedCommandsComponentBase :: F32 QueuedCommandsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4487,7 +4487,7 @@ F32 QueuedCommandsComponentBase :: F32 QueuedCommandsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4514,7 +4514,7 @@ F32 QueuedCommandsComponentBase :: void QueuedCommandsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp index 1096b2838..21eb54c9b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp @@ -138,7 +138,7 @@ class QueuedCommandsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -151,91 +151,91 @@ class QueuedCommandsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -246,31 +246,31 @@ class QueuedCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -278,7 +278,7 @@ class QueuedCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -286,13 +286,13 @@ class QueuedCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -304,25 +304,25 @@ class QueuedCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -336,25 +336,25 @@ class QueuedCommandsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -362,7 +362,7 @@ class QueuedCommandsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -370,13 +370,13 @@ class QueuedCommandsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -392,13 +392,13 @@ class QueuedCommandsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -597,35 +597,35 @@ class QueuedCommandsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -634,7 +634,7 @@ class QueuedCommandsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -643,14 +643,14 @@ class QueuedCommandsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -663,28 +663,28 @@ class QueuedCommandsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -695,32 +695,32 @@ class QueuedCommandsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,7 +732,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -744,7 +744,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -756,7 +756,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -768,7 +768,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -780,7 +780,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -792,7 +792,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -804,7 +804,7 @@ class QueuedCommandsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -824,32 +824,32 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -861,7 +861,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -873,7 +873,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -885,7 +885,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -897,7 +897,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -909,7 +909,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -921,7 +921,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -933,7 +933,7 @@ class QueuedCommandsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -955,12 +955,12 @@ class QueuedCommandsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -972,7 +972,7 @@ class QueuedCommandsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -984,7 +984,7 @@ class QueuedCommandsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -996,7 +996,7 @@ class QueuedCommandsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1014,17 +1014,17 @@ class QueuedCommandsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1036,7 +1036,7 @@ class QueuedCommandsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1464,7 +1464,7 @@ class QueuedCommandsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1479,37 +1479,37 @@ class QueuedCommandsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1522,7 +1522,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1535,7 +1535,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1548,7 +1548,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1561,7 +1561,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1574,7 +1574,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1587,7 +1587,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1600,7 +1600,7 @@ class QueuedCommandsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp index d3bf44ee6..baca3c75b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void QueuedEventsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void QueuedEventsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void QueuedEventsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void QueuedEventsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void QueuedEventsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void QueuedEventsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void QueuedEventsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void QueuedEventsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void QueuedEventsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void QueuedEventsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void QueuedEventsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void QueuedEventsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void QueuedEventsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void QueuedEventsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void QueuedEventsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void QueuedEventsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void QueuedEventsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void QueuedEventsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void QueuedEventsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void QueuedEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void QueuedEventsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void QueuedEventsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void QueuedEventsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void QueuedEventsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void QueuedEventsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void QueuedEventsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void QueuedEventsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedEventsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* QueuedEventsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedEventsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* QueuedEventsComponentBase :: } Ports::InputNoArgsPort* QueuedEventsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* QueuedEventsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedEventsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* QueuedEventsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedEventsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* QueuedEventsComponentBase :: } Ports::InputNoArgsPort* QueuedEventsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: } Ports::InputTypedReturnPort* QueuedEventsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* QueuedEventsComponentBase :: } Ports::InputTypedReturnPort* QueuedEventsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* QueuedEventsComponentBase :: } Ports::InputTypedPort* QueuedEventsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1344,7 +1344,7 @@ NATIVE_INT_TYPE QueuedEventsComponentBase :: // ---------------------------------------------------------------------- bool QueuedEventsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1355,7 +1355,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1366,7 +1366,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1377,7 +1377,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1388,7 +1388,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1401,7 +1401,7 @@ bool QueuedEventsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedEventsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1414,7 +1414,7 @@ bool QueuedEventsComponentBase :: #endif bool QueuedEventsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1425,7 +1425,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1440,7 +1440,7 @@ bool QueuedEventsComponentBase :: // ---------------------------------------------------------------------- bool QueuedEventsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1451,7 +1451,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1462,7 +1462,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1473,7 +1473,7 @@ bool QueuedEventsComponentBase :: } bool QueuedEventsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1490,7 +1490,7 @@ bool QueuedEventsComponentBase :: // ---------------------------------------------------------------------- void QueuedEventsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1530,7 +1530,7 @@ void QueuedEventsComponentBase :: } void QueuedEventsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1549,7 +1549,7 @@ void QueuedEventsComponentBase :: } U32 QueuedEventsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1572,7 +1572,7 @@ U32 QueuedEventsComponentBase :: } U32 QueuedEventsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1589,7 +1589,7 @@ U32 QueuedEventsComponentBase :: } void QueuedEventsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1603,7 +1603,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1710,7 +1710,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1817,7 +1817,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1924,7 +1924,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2036,7 +2036,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2073,7 +2073,7 @@ void QueuedEventsComponentBase :: F32 QueuedEventsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2114,7 +2114,7 @@ F32 QueuedEventsComponentBase :: F32 QueuedEventsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2149,7 +2149,7 @@ F32 QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2187,14 +2187,14 @@ void QueuedEventsComponentBase :: // ---------------------------------------------------------------------- void QueuedEventsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedEventsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2209,7 +2209,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2224,7 +2224,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2239,7 +2239,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2257,7 +2257,7 @@ void QueuedEventsComponentBase :: // ---------------------------------------------------------------------- void QueuedEventsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2267,7 +2267,7 @@ void QueuedEventsComponentBase :: } U32 QueuedEventsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2278,7 +2278,7 @@ U32 QueuedEventsComponentBase :: void QueuedEventsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2305,7 +2305,7 @@ void QueuedEventsComponentBase :: F32 QueuedEventsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3102,7 +3102,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedEventsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3420,7 +3420,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3439,7 +3439,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3450,7 +3450,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3461,7 +3461,7 @@ void QueuedEventsComponentBase :: U32 QueuedEventsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3472,7 +3472,7 @@ U32 QueuedEventsComponentBase :: U32 QueuedEventsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3483,7 +3483,7 @@ U32 QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3494,7 +3494,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3521,7 +3521,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3548,7 +3548,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3575,7 +3575,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3602,7 +3602,7 @@ void QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3629,7 +3629,7 @@ void QueuedEventsComponentBase :: F32 QueuedEventsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3656,7 +3656,7 @@ F32 QueuedEventsComponentBase :: F32 QueuedEventsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3683,7 +3683,7 @@ F32 QueuedEventsComponentBase :: void QueuedEventsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp index c52ff4732..41985df78 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp @@ -135,7 +135,7 @@ class QueuedEventsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -148,91 +148,91 @@ class QueuedEventsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,31 +243,31 @@ class QueuedEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -275,7 +275,7 @@ class QueuedEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -283,13 +283,13 @@ class QueuedEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -301,25 +301,25 @@ class QueuedEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -333,25 +333,25 @@ class QueuedEventsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -359,7 +359,7 @@ class QueuedEventsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -367,13 +367,13 @@ class QueuedEventsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -389,13 +389,13 @@ class QueuedEventsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -583,35 +583,35 @@ class QueuedEventsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -620,7 +620,7 @@ class QueuedEventsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -629,14 +629,14 @@ class QueuedEventsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -649,28 +649,28 @@ class QueuedEventsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -681,32 +681,32 @@ class QueuedEventsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -718,7 +718,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -730,7 +730,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -742,7 +742,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -754,7 +754,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -766,7 +766,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -778,7 +778,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -790,7 +790,7 @@ class QueuedEventsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -810,32 +810,32 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -847,7 +847,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -859,7 +859,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -871,7 +871,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -883,7 +883,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -895,7 +895,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -907,7 +907,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -919,7 +919,7 @@ class QueuedEventsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -941,12 +941,12 @@ class QueuedEventsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -958,7 +958,7 @@ class QueuedEventsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -970,7 +970,7 @@ class QueuedEventsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -982,7 +982,7 @@ class QueuedEventsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1000,17 +1000,17 @@ class QueuedEventsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1022,7 +1022,7 @@ class QueuedEventsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1145,7 +1145,7 @@ class QueuedEventsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1160,37 +1160,37 @@ class QueuedEventsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1203,7 +1203,7 @@ class QueuedEventsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1216,7 +1216,7 @@ class QueuedEventsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1229,7 +1229,7 @@ class QueuedEventsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1242,7 +1242,7 @@ class QueuedEventsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1255,7 +1255,7 @@ class QueuedEventsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1268,7 +1268,7 @@ class QueuedEventsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1281,7 +1281,7 @@ class QueuedEventsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp index d71f5e6e1..9c6a4eba1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void QueuedGetProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void QueuedGetProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -285,8 +285,8 @@ void QueuedGetProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -309,8 +309,8 @@ void QueuedGetProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void QueuedGetProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -357,8 +357,8 @@ void QueuedGetProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -405,8 +405,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -429,8 +429,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -453,8 +453,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -501,8 +501,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -549,8 +549,8 @@ void QueuedGetProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void QueuedGetProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -592,8 +592,8 @@ void QueuedGetProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -611,8 +611,8 @@ void QueuedGetProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -630,8 +630,8 @@ void QueuedGetProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -649,8 +649,8 @@ void QueuedGetProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -668,8 +668,8 @@ void QueuedGetProductsComponentBase :: // Connect output port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productGetOut_OutputPorts()); port++ ) { this->m_productGetOut_OutputPort[port].init(); @@ -687,8 +687,8 @@ void QueuedGetProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -707,8 +707,8 @@ void QueuedGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -727,8 +727,8 @@ void QueuedGetProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -746,8 +746,8 @@ void QueuedGetProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -765,8 +765,8 @@ void QueuedGetProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -784,8 +784,8 @@ void QueuedGetProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -803,8 +803,8 @@ void QueuedGetProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -822,8 +822,8 @@ void QueuedGetProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -854,7 +854,7 @@ void QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedGetProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -869,7 +869,7 @@ Fw::InputCmdPort* QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -880,7 +880,7 @@ Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: } Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -891,7 +891,7 @@ Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedGetProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -902,7 +902,7 @@ Ports::InputNoArgsReturnPort* QueuedGetProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedGetProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -913,7 +913,7 @@ Ports::InputNoArgsReturnPort* QueuedGetProductsComponentBase :: } Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -924,7 +924,7 @@ Ports::InputNoArgsPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -935,7 +935,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -946,7 +946,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -957,7 +957,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -968,7 +968,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -979,7 +979,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedGetProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -990,7 +990,7 @@ Ports::InputTypedReturnPort* QueuedGetProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedGetProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1001,7 +1001,7 @@ Ports::InputTypedReturnPort* QueuedGetProductsComponentBase :: } Ports::InputTypedPort* QueuedGetProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1017,7 +1017,7 @@ Ports::InputTypedPort* QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1031,7 +1031,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1045,7 +1045,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1059,7 +1059,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1073,7 +1073,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1087,7 +1087,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpGetPort* port ) { @@ -1101,7 +1101,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1117,7 +1117,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1133,7 +1133,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1147,7 +1147,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1165,7 +1165,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1179,7 +1179,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1193,7 +1193,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1207,7 +1207,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1227,7 +1227,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1241,7 +1241,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1255,7 +1255,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1269,7 +1269,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1283,7 +1283,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1299,7 +1299,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1315,7 +1315,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1329,7 +1329,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1351,7 +1351,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1365,7 +1365,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1589,7 +1589,7 @@ NATIVE_INT_TYPE QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedGetProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1600,7 +1600,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1611,7 +1611,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1622,7 +1622,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1633,7 +1633,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1644,7 +1644,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_productGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productGetOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1668,7 +1668,7 @@ bool QueuedGetProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedGetProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1681,7 +1681,7 @@ bool QueuedGetProductsComponentBase :: #endif bool QueuedGetProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1692,7 +1692,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1707,7 +1707,7 @@ bool QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedGetProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1718,7 +1718,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1729,7 +1729,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1740,7 +1740,7 @@ bool QueuedGetProductsComponentBase :: } bool QueuedGetProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1757,7 +1757,7 @@ bool QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGetProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1797,7 +1797,7 @@ void QueuedGetProductsComponentBase :: } void QueuedGetProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1816,7 +1816,7 @@ void QueuedGetProductsComponentBase :: } U32 QueuedGetProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1839,7 +1839,7 @@ U32 QueuedGetProductsComponentBase :: } U32 QueuedGetProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1856,7 +1856,7 @@ U32 QueuedGetProductsComponentBase :: } void QueuedGetProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1870,7 +1870,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1977,7 +1977,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2084,7 +2084,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2191,7 +2191,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2303,7 +2303,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2340,7 +2340,7 @@ void QueuedGetProductsComponentBase :: F32 QueuedGetProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2381,7 +2381,7 @@ F32 QueuedGetProductsComponentBase :: F32 QueuedGetProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2416,7 +2416,7 @@ F32 QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2454,14 +2454,14 @@ void QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGetProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedGetProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2476,7 +2476,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2491,7 +2491,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2506,7 +2506,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2525,7 +2525,7 @@ void QueuedGetProductsComponentBase :: Fw::Success QueuedGetProductsComponentBase :: productGetOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -2544,7 +2544,7 @@ Fw::Success QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2564,7 +2564,7 @@ void QueuedGetProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGetProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2574,7 +2574,7 @@ void QueuedGetProductsComponentBase :: } U32 QueuedGetProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2585,7 +2585,7 @@ U32 QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2612,7 +2612,7 @@ void QueuedGetProductsComponentBase :: F32 QueuedGetProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2738,7 +2738,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGetProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3056,7 +3056,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3075,7 +3075,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3086,7 +3086,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3097,7 +3097,7 @@ void QueuedGetProductsComponentBase :: U32 QueuedGetProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3108,7 +3108,7 @@ U32 QueuedGetProductsComponentBase :: U32 QueuedGetProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3119,7 +3119,7 @@ U32 QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3130,7 +3130,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3157,7 +3157,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3184,7 +3184,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3211,7 +3211,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3238,7 +3238,7 @@ void QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3265,7 +3265,7 @@ void QueuedGetProductsComponentBase :: F32 QueuedGetProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3292,7 +3292,7 @@ F32 QueuedGetProductsComponentBase :: F32 QueuedGetProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3319,7 +3319,7 @@ F32 QueuedGetProductsComponentBase :: void QueuedGetProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp index 24efdd711..da49d0284 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp @@ -221,7 +221,7 @@ class QueuedGetProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -234,91 +234,91 @@ class QueuedGetProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -329,43 +329,43 @@ class QueuedGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productGetOut[portNum] void set_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpGetPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -373,7 +373,7 @@ class QueuedGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -381,13 +381,13 @@ class QueuedGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -399,25 +399,25 @@ class QueuedGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -431,31 +431,31 @@ class QueuedGetProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -463,7 +463,7 @@ class QueuedGetProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -471,13 +471,13 @@ class QueuedGetProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -493,13 +493,13 @@ class QueuedGetProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -697,49 +697,49 @@ class QueuedGetProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productGetOut is connected //! //! \return Whether port productGetOut is connected bool isConnected_productGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -748,7 +748,7 @@ class QueuedGetProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -757,14 +757,14 @@ class QueuedGetProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -777,28 +777,28 @@ class QueuedGetProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -809,32 +809,32 @@ class QueuedGetProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -846,7 +846,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -858,7 +858,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -870,7 +870,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class QueuedGetProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -938,32 +938,32 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -975,7 +975,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -987,7 +987,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -999,7 +999,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class QueuedGetProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1069,12 +1069,12 @@ class QueuedGetProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1086,7 +1086,7 @@ class QueuedGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1098,7 +1098,7 @@ class QueuedGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1110,7 +1110,7 @@ class QueuedGetProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1128,7 +1128,7 @@ class QueuedGetProductsComponentBase : //! Invoke output port productGetOut Fw::Success productGetOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -1136,7 +1136,7 @@ class QueuedGetProductsComponentBase : //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1149,17 +1149,17 @@ class QueuedGetProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1171,7 +1171,7 @@ class QueuedGetProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1318,7 +1318,7 @@ class QueuedGetProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1333,37 +1333,37 @@ class QueuedGetProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1376,7 +1376,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1389,7 +1389,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1402,7 +1402,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1415,7 +1415,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class QueuedGetProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp index e82832d90..ffb265297 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -285,8 +285,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -309,8 +309,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -357,8 +357,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -405,8 +405,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -429,8 +429,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -453,8 +453,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -501,8 +501,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -549,8 +549,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void QueuedGuardedProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -597,8 +597,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -616,8 +616,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -635,8 +635,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -654,8 +654,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -673,8 +673,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -692,8 +692,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -711,8 +711,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -731,8 +731,8 @@ void QueuedGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -751,8 +751,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -770,8 +770,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -789,8 +789,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -808,8 +808,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -827,8 +827,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -846,8 +846,8 @@ void QueuedGuardedProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -878,7 +878,7 @@ void QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedGuardedProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -889,7 +889,7 @@ Fw::InputCmdPort* QueuedGuardedProductsComponentBase :: } Fw::InputDpResponsePort* QueuedGuardedProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -904,7 +904,7 @@ Fw::InputDpResponsePort* QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -915,7 +915,7 @@ Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: } Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -926,7 +926,7 @@ Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedGuardedProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -937,7 +937,7 @@ Ports::InputNoArgsReturnPort* QueuedGuardedProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedGuardedProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -948,7 +948,7 @@ Ports::InputNoArgsReturnPort* QueuedGuardedProductsComponentBase :: } Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -959,7 +959,7 @@ Ports::InputNoArgsPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -970,7 +970,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -981,7 +981,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -992,7 +992,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1003,7 +1003,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1014,7 +1014,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedGuardedProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1025,7 +1025,7 @@ Ports::InputTypedReturnPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedGuardedProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1036,7 +1036,7 @@ Ports::InputTypedReturnPort* QueuedGuardedProductsComponentBase :: } Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1052,7 +1052,7 @@ Ports::InputTypedPort* QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1066,7 +1066,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1080,7 +1080,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1094,7 +1094,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1108,7 +1108,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1122,7 +1122,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1136,7 +1136,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1152,7 +1152,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1168,7 +1168,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1182,7 +1182,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1200,7 +1200,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1214,7 +1214,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1228,7 +1228,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1242,7 +1242,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1262,7 +1262,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1276,7 +1276,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1290,7 +1290,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1304,7 +1304,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1318,7 +1318,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1332,7 +1332,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1348,7 +1348,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1364,7 +1364,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1378,7 +1378,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1400,7 +1400,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1414,7 +1414,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1644,7 +1644,7 @@ NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedGuardedProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1666,7 +1666,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1677,7 +1677,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1688,7 +1688,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1699,7 +1699,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1710,7 +1710,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1723,7 +1723,7 @@ bool QueuedGuardedProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedGuardedProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1736,7 +1736,7 @@ bool QueuedGuardedProductsComponentBase :: #endif bool QueuedGuardedProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1747,7 +1747,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1762,7 +1762,7 @@ bool QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedGuardedProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1773,7 +1773,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1784,7 +1784,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1795,7 +1795,7 @@ bool QueuedGuardedProductsComponentBase :: } bool QueuedGuardedProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1813,7 +1813,7 @@ bool QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1847,7 +1847,7 @@ void QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGuardedProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1887,7 +1887,7 @@ void QueuedGuardedProductsComponentBase :: } void QueuedGuardedProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1906,7 +1906,7 @@ void QueuedGuardedProductsComponentBase :: } U32 QueuedGuardedProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1929,7 +1929,7 @@ U32 QueuedGuardedProductsComponentBase :: } U32 QueuedGuardedProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1946,7 +1946,7 @@ U32 QueuedGuardedProductsComponentBase :: } void QueuedGuardedProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1960,7 +1960,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2067,7 +2067,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2174,7 +2174,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2281,7 +2281,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2393,7 +2393,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2430,7 +2430,7 @@ void QueuedGuardedProductsComponentBase :: F32 QueuedGuardedProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2471,7 +2471,7 @@ F32 QueuedGuardedProductsComponentBase :: F32 QueuedGuardedProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2506,7 +2506,7 @@ F32 QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2545,7 +2545,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2563,14 +2563,14 @@ void QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGuardedProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedGuardedProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2585,7 +2585,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2600,7 +2600,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2615,7 +2615,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2634,7 +2634,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2651,7 +2651,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2671,7 +2671,7 @@ void QueuedGuardedProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedGuardedProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2681,7 +2681,7 @@ void QueuedGuardedProductsComponentBase :: } U32 QueuedGuardedProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2692,7 +2692,7 @@ U32 QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2719,7 +2719,7 @@ void QueuedGuardedProductsComponentBase :: F32 QueuedGuardedProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2845,7 +2845,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGuardedProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3163,7 +3163,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3178,7 +3178,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3201,7 +3201,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3212,7 +3212,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3223,7 +3223,7 @@ void QueuedGuardedProductsComponentBase :: U32 QueuedGuardedProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3234,7 +3234,7 @@ U32 QueuedGuardedProductsComponentBase :: U32 QueuedGuardedProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3245,7 +3245,7 @@ U32 QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3256,7 +3256,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3283,7 +3283,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3310,7 +3310,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3337,7 +3337,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3364,7 +3364,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3391,7 +3391,7 @@ void QueuedGuardedProductsComponentBase :: F32 QueuedGuardedProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3418,7 +3418,7 @@ F32 QueuedGuardedProductsComponentBase :: F32 QueuedGuardedProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3445,7 +3445,7 @@ F32 QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3486,7 +3486,7 @@ void QueuedGuardedProductsComponentBase :: void QueuedGuardedProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp index 14e153f1d..e0deba252 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class QueuedGuardedProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class QueuedGuardedProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class QueuedGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class QueuedGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class QueuedGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class QueuedGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class QueuedGuardedProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class QueuedGuardedProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class QueuedGuardedProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class QueuedGuardedProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class QueuedGuardedProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class QueuedGuardedProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class QueuedGuardedProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class QueuedGuardedProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class QueuedGuardedProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class QueuedGuardedProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class QueuedGuardedProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class QueuedGuardedProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class QueuedGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class QueuedGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class QueuedGuardedProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class QueuedGuardedProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class QueuedGuardedProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class QueuedGuardedProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class QueuedGuardedProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class QueuedGuardedProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class QueuedGuardedProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp index 6e7cdf846..8922dcab9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp @@ -30,10 +30,10 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -67,8 +67,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -91,8 +91,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -115,8 +115,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -139,8 +139,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -163,8 +163,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -182,8 +182,8 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -214,7 +214,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -225,7 +225,7 @@ Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -236,7 +236,7 @@ Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsReturnPort* QueuedNoArgsPortsOnlyComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -247,7 +247,7 @@ Ports::InputNoArgsReturnPort* QueuedNoArgsPortsOnlyComponentBase :: } Ports::InputNoArgsReturnPort* QueuedNoArgsPortsOnlyComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -263,7 +263,7 @@ Ports::InputNoArgsReturnPort* QueuedNoArgsPortsOnlyComponentBase :: void QueuedNoArgsPortsOnlyComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -277,7 +277,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: void QueuedNoArgsPortsOnlyComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -297,7 +297,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: void QueuedNoArgsPortsOnlyComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -377,7 +377,7 @@ NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- bool QueuedNoArgsPortsOnlyComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -388,7 +388,7 @@ bool QueuedNoArgsPortsOnlyComponentBase :: } bool QueuedNoArgsPortsOnlyComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -405,7 +405,7 @@ bool QueuedNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -445,7 +445,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: } void QueuedNoArgsPortsOnlyComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -464,7 +464,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: } U32 QueuedNoArgsPortsOnlyComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -487,7 +487,7 @@ U32 QueuedNoArgsPortsOnlyComponentBase :: } U32 QueuedNoArgsPortsOnlyComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -512,7 +512,7 @@ U32 QueuedNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } @@ -522,7 +522,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -532,7 +532,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: } U32 QueuedNoArgsPortsOnlyComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -601,7 +601,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedNoArgsPortsOnlyComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -631,7 +631,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedNoArgsPortsOnlyComponentBase :: void QueuedNoArgsPortsOnlyComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -642,7 +642,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: void QueuedNoArgsPortsOnlyComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -653,7 +653,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: U32 QueuedNoArgsPortsOnlyComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -664,7 +664,7 @@ U32 QueuedNoArgsPortsOnlyComponentBase :: U32 QueuedNoArgsPortsOnlyComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp index ff380bc20..0d4338cb0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp @@ -72,28 +72,28 @@ class QueuedNoArgsPortsOnlyComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -104,13 +104,13 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); @@ -124,7 +124,7 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -196,14 +196,14 @@ class QueuedNoArgsPortsOnlyComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -214,22 +214,22 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; PROTECTED: @@ -242,22 +242,22 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -272,7 +272,7 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -283,12 +283,12 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -324,25 +324,25 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp index 315420973..59e5eb8fe 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void QueuedParamsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void QueuedParamsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void QueuedParamsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void QueuedParamsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void QueuedParamsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void QueuedParamsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void QueuedParamsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void QueuedParamsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void QueuedParamsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void QueuedParamsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void QueuedParamsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void QueuedParamsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void QueuedParamsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void QueuedParamsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void QueuedParamsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void QueuedParamsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void QueuedParamsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void QueuedParamsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void QueuedParamsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void QueuedParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void QueuedParamsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void QueuedParamsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void QueuedParamsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void QueuedParamsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void QueuedParamsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void QueuedParamsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void QueuedParamsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedParamsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* QueuedParamsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedParamsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* QueuedParamsComponentBase :: } Ports::InputNoArgsPort* QueuedParamsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* QueuedParamsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedParamsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* QueuedParamsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedParamsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* QueuedParamsComponentBase :: } Ports::InputNoArgsPort* QueuedParamsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: } Ports::InputTypedReturnPort* QueuedParamsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* QueuedParamsComponentBase :: } Ports::InputTypedReturnPort* QueuedParamsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* QueuedParamsComponentBase :: } Ports::InputTypedPort* QueuedParamsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1580,7 +1580,7 @@ NATIVE_INT_TYPE QueuedParamsComponentBase :: // ---------------------------------------------------------------------- bool QueuedParamsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1591,7 +1591,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1602,7 +1602,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1613,7 +1613,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1624,7 +1624,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1637,7 +1637,7 @@ bool QueuedParamsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedParamsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1650,7 +1650,7 @@ bool QueuedParamsComponentBase :: #endif bool QueuedParamsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1661,7 +1661,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1676,7 +1676,7 @@ bool QueuedParamsComponentBase :: // ---------------------------------------------------------------------- bool QueuedParamsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1687,7 +1687,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1698,7 +1698,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1709,7 +1709,7 @@ bool QueuedParamsComponentBase :: } bool QueuedParamsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1726,7 +1726,7 @@ bool QueuedParamsComponentBase :: // ---------------------------------------------------------------------- void QueuedParamsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1766,7 +1766,7 @@ void QueuedParamsComponentBase :: } void QueuedParamsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1785,7 +1785,7 @@ void QueuedParamsComponentBase :: } U32 QueuedParamsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1808,7 +1808,7 @@ U32 QueuedParamsComponentBase :: } U32 QueuedParamsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1825,7 +1825,7 @@ U32 QueuedParamsComponentBase :: } void QueuedParamsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1839,7 +1839,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1946,7 +1946,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2053,7 +2053,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2160,7 +2160,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2272,7 +2272,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2309,7 +2309,7 @@ void QueuedParamsComponentBase :: F32 QueuedParamsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2350,7 +2350,7 @@ F32 QueuedParamsComponentBase :: F32 QueuedParamsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2385,7 +2385,7 @@ F32 QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2423,14 +2423,14 @@ void QueuedParamsComponentBase :: // ---------------------------------------------------------------------- void QueuedParamsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedParamsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2445,7 +2445,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2460,7 +2460,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2475,7 +2475,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2493,7 +2493,7 @@ void QueuedParamsComponentBase :: // ---------------------------------------------------------------------- void QueuedParamsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2503,7 +2503,7 @@ void QueuedParamsComponentBase :: } U32 QueuedParamsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2514,7 +2514,7 @@ U32 QueuedParamsComponentBase :: void QueuedParamsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2541,7 +2541,7 @@ void QueuedParamsComponentBase :: F32 QueuedParamsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2744,7 +2744,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedParamsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3062,7 +3062,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3205,7 +3205,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3216,7 +3216,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3227,7 +3227,7 @@ void QueuedParamsComponentBase :: U32 QueuedParamsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3238,7 +3238,7 @@ U32 QueuedParamsComponentBase :: U32 QueuedParamsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3249,7 +3249,7 @@ U32 QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3260,7 +3260,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3287,7 +3287,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3314,7 +3314,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3341,7 +3341,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3368,7 +3368,7 @@ void QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3395,7 +3395,7 @@ void QueuedParamsComponentBase :: F32 QueuedParamsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3422,7 +3422,7 @@ F32 QueuedParamsComponentBase :: F32 QueuedParamsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3449,7 +3449,7 @@ F32 QueuedParamsComponentBase :: void QueuedParamsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp index e31811c73..9d166f229 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp @@ -145,7 +145,7 @@ class QueuedParamsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -158,91 +158,91 @@ class QueuedParamsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -253,31 +253,31 @@ class QueuedParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -285,7 +285,7 @@ class QueuedParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -293,13 +293,13 @@ class QueuedParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -311,25 +311,25 @@ class QueuedParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -343,25 +343,25 @@ class QueuedParamsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -369,7 +369,7 @@ class QueuedParamsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -377,13 +377,13 @@ class QueuedParamsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -399,13 +399,13 @@ class QueuedParamsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -615,35 +615,35 @@ class QueuedParamsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -652,7 +652,7 @@ class QueuedParamsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -661,14 +661,14 @@ class QueuedParamsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -681,28 +681,28 @@ class QueuedParamsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -713,32 +713,32 @@ class QueuedParamsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -750,7 +750,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -762,7 +762,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -774,7 +774,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -786,7 +786,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -798,7 +798,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -810,7 +810,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -822,7 +822,7 @@ class QueuedParamsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -842,32 +842,32 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -879,7 +879,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -891,7 +891,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -903,7 +903,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -915,7 +915,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -927,7 +927,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -939,7 +939,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -951,7 +951,7 @@ class QueuedParamsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -973,12 +973,12 @@ class QueuedParamsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -990,7 +990,7 @@ class QueuedParamsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1002,7 +1002,7 @@ class QueuedParamsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1014,7 +1014,7 @@ class QueuedParamsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1032,17 +1032,17 @@ class QueuedParamsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1054,7 +1054,7 @@ class QueuedParamsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1204,7 +1204,7 @@ class QueuedParamsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1219,37 +1219,37 @@ class QueuedParamsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1262,7 +1262,7 @@ class QueuedParamsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1275,7 +1275,7 @@ class QueuedParamsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1288,7 +1288,7 @@ class QueuedParamsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1301,7 +1301,7 @@ class QueuedParamsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1314,7 +1314,7 @@ class QueuedParamsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1327,7 +1327,7 @@ class QueuedParamsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1340,7 +1340,7 @@ class QueuedParamsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index e8c5f9f41..8ecd502f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -83,10 +83,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -121,8 +121,8 @@ void QueuedSerialComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -145,8 +145,8 @@ void QueuedSerialComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -169,8 +169,8 @@ void QueuedSerialComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -193,8 +193,8 @@ void QueuedSerialComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -217,8 +217,8 @@ void QueuedSerialComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -241,8 +241,8 @@ void QueuedSerialComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -265,8 +265,8 @@ void QueuedSerialComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -289,8 +289,8 @@ void QueuedSerialComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -313,8 +313,8 @@ void QueuedSerialComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -337,8 +337,8 @@ void QueuedSerialComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -361,8 +361,8 @@ void QueuedSerialComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -385,8 +385,8 @@ void QueuedSerialComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -409,8 +409,8 @@ void QueuedSerialComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -433,8 +433,8 @@ void QueuedSerialComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -457,8 +457,8 @@ void QueuedSerialComponentBase :: // Connect input port serialAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsync_InputPorts()); port++ ) { this->m_serialAsync_InputPort[port].init(); @@ -481,8 +481,8 @@ void QueuedSerialComponentBase :: // Connect input port serialAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncAssert_InputPorts()); port++ ) { this->m_serialAsyncAssert_InputPort[port].init(); @@ -505,8 +505,8 @@ void QueuedSerialComponentBase :: // Connect input port serialAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncBlockPriority_InputPorts()); port++ ) { this->m_serialAsyncBlockPriority_InputPort[port].init(); @@ -529,8 +529,8 @@ void QueuedSerialComponentBase :: // Connect input port serialAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialAsyncDropPriority_InputPorts()); port++ ) { this->m_serialAsyncDropPriority_InputPort[port].init(); @@ -553,8 +553,8 @@ void QueuedSerialComponentBase :: // Connect input port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialGuarded_InputPorts()); port++ ) { this->m_serialGuarded_InputPort[port].init(); @@ -577,8 +577,8 @@ void QueuedSerialComponentBase :: // Connect input port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialSync_InputPorts()); port++ ) { this->m_serialSync_InputPort[port].init(); @@ -601,8 +601,8 @@ void QueuedSerialComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -620,8 +620,8 @@ void QueuedSerialComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -639,8 +639,8 @@ void QueuedSerialComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -658,8 +658,8 @@ void QueuedSerialComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -677,8 +677,8 @@ void QueuedSerialComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -697,8 +697,8 @@ void QueuedSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -717,8 +717,8 @@ void QueuedSerialComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -736,8 +736,8 @@ void QueuedSerialComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -755,8 +755,8 @@ void QueuedSerialComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -774,8 +774,8 @@ void QueuedSerialComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -793,8 +793,8 @@ void QueuedSerialComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -812,8 +812,8 @@ void QueuedSerialComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -831,8 +831,8 @@ void QueuedSerialComponentBase :: // Connect output port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_serialOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_serialOut_OutputPorts()); port++ ) { this->m_serialOut_OutputPort[port].init(); @@ -852,7 +852,7 @@ void QueuedSerialComponentBase :: // NATIVE_INT_TYPE cast because of compiler warning. this->m_msgSize = FW_MAX( msgSize + - static_cast(sizeof(NATIVE_INT_TYPE)) + + static_cast(sizeof(FwIndexType)) + static_cast(sizeof(I32)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -869,7 +869,7 @@ void QueuedSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedSerialComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -884,7 +884,7 @@ Fw::InputCmdPort* QueuedSerialComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedSerialComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -895,7 +895,7 @@ Ports::InputNoArgsPort* QueuedSerialComponentBase :: } Ports::InputNoArgsPort* QueuedSerialComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -906,7 +906,7 @@ Ports::InputNoArgsPort* QueuedSerialComponentBase :: } Ports::InputNoArgsReturnPort* QueuedSerialComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -917,7 +917,7 @@ Ports::InputNoArgsReturnPort* QueuedSerialComponentBase :: } Ports::InputNoArgsReturnPort* QueuedSerialComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -928,7 +928,7 @@ Ports::InputNoArgsReturnPort* QueuedSerialComponentBase :: } Ports::InputNoArgsPort* QueuedSerialComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -939,7 +939,7 @@ Ports::InputNoArgsPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -950,7 +950,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -961,7 +961,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -972,7 +972,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -983,7 +983,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -994,7 +994,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: } Ports::InputTypedReturnPort* QueuedSerialComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1005,7 +1005,7 @@ Ports::InputTypedReturnPort* QueuedSerialComponentBase :: } Ports::InputTypedReturnPort* QueuedSerialComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1016,7 +1016,7 @@ Ports::InputTypedReturnPort* QueuedSerialComponentBase :: } Ports::InputTypedPort* QueuedSerialComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1031,7 +1031,7 @@ Ports::InputTypedPort* QueuedSerialComponentBase :: // ---------------------------------------------------------------------- Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialAsync_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsync_InputPorts(), @@ -1042,7 +1042,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: } Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncAssert_InputPorts(), @@ -1053,7 +1053,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: } Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncBlockPriority_InputPorts(), @@ -1064,7 +1064,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: } Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_serialAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialAsyncDropPriority_InputPorts(), @@ -1075,7 +1075,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: } Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_serialGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialGuarded_InputPorts(), @@ -1086,7 +1086,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: } Fw::InputSerializePort* QueuedSerialComponentBase :: - get_serialSync_InputPort(NATIVE_INT_TYPE portNum) + get_serialSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialSync_InputPorts(), @@ -1102,7 +1102,7 @@ Fw::InputSerializePort* QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1116,7 +1116,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1130,7 +1130,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1144,7 +1144,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1158,7 +1158,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1174,7 +1174,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1190,7 +1190,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1204,7 +1204,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1222,7 +1222,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1236,7 +1236,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1250,7 +1250,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1264,7 +1264,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1284,7 +1284,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1298,7 +1298,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1312,7 +1312,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1326,7 +1326,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1342,7 +1342,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1358,7 +1358,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1372,7 +1372,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1394,7 +1394,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1408,7 +1408,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1430,7 +1430,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPortBase* port ) { @@ -2009,7 +2009,7 @@ NATIVE_INT_TYPE QueuedSerialComponentBase :: // ---------------------------------------------------------------------- bool QueuedSerialComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -2020,7 +2020,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -2031,7 +2031,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -2042,7 +2042,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -2053,7 +2053,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -2066,7 +2066,7 @@ bool QueuedSerialComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedSerialComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -2079,7 +2079,7 @@ bool QueuedSerialComponentBase :: #endif bool QueuedSerialComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -2090,7 +2090,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -2105,7 +2105,7 @@ bool QueuedSerialComponentBase :: // ---------------------------------------------------------------------- bool QueuedSerialComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2116,7 +2116,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2127,7 +2127,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -2138,7 +2138,7 @@ bool QueuedSerialComponentBase :: } bool QueuedSerialComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -2153,7 +2153,7 @@ bool QueuedSerialComponentBase :: // ---------------------------------------------------------------------- bool QueuedSerialComponentBase :: - isConnected_serialOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_serialOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_serialOut_OutputPorts(), @@ -2170,7 +2170,7 @@ bool QueuedSerialComponentBase :: // ---------------------------------------------------------------------- void QueuedSerialComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2210,7 +2210,7 @@ void QueuedSerialComponentBase :: } void QueuedSerialComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2229,7 +2229,7 @@ void QueuedSerialComponentBase :: } U32 QueuedSerialComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2252,7 +2252,7 @@ U32 QueuedSerialComponentBase :: } U32 QueuedSerialComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2269,7 +2269,7 @@ U32 QueuedSerialComponentBase :: } void QueuedSerialComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2283,7 +2283,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2390,7 +2390,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2497,7 +2497,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2604,7 +2604,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2716,7 +2716,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2753,7 +2753,7 @@ void QueuedSerialComponentBase :: F32 QueuedSerialComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2794,7 +2794,7 @@ F32 QueuedSerialComponentBase :: F32 QueuedSerialComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2829,7 +2829,7 @@ F32 QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2866,7 +2866,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -2916,7 +2916,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -2966,7 +2966,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3016,7 +3016,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3071,7 +3071,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3096,7 +3096,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3122,14 +3122,14 @@ void QueuedSerialComponentBase :: // ---------------------------------------------------------------------- void QueuedSerialComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedSerialComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3144,7 +3144,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3159,7 +3159,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3174,7 +3174,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3197,7 +3197,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3206,7 +3206,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3215,7 +3215,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3224,7 +3224,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: serialAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3236,7 +3236,7 @@ void QueuedSerialComponentBase :: // ---------------------------------------------------------------------- void QueuedSerialComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -3246,7 +3246,7 @@ void QueuedSerialComponentBase :: } U32 QueuedSerialComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -3257,7 +3257,7 @@ U32 QueuedSerialComponentBase :: void QueuedSerialComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3284,7 +3284,7 @@ void QueuedSerialComponentBase :: F32 QueuedSerialComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3315,7 +3315,7 @@ F32 QueuedSerialComponentBase :: Fw::SerializeStatus QueuedSerialComponentBase :: serialOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -3346,7 +3346,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3382,7 +3382,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3422,7 +3422,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3470,7 +3470,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3508,7 +3508,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3550,7 +3550,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4249,7 +4249,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4308,7 +4308,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4367,7 +4367,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4426,7 +4426,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4490,7 +4490,7 @@ void QueuedSerialComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -5850,7 +5850,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSerialComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -6674,7 +6674,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -6970,7 +6970,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6981,7 +6981,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6992,7 +6992,7 @@ void QueuedSerialComponentBase :: U32 QueuedSerialComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -7003,7 +7003,7 @@ U32 QueuedSerialComponentBase :: U32 QueuedSerialComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -7014,7 +7014,7 @@ U32 QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -7025,7 +7025,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7052,7 +7052,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7079,7 +7079,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7106,7 +7106,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7133,7 +7133,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7160,7 +7160,7 @@ void QueuedSerialComponentBase :: F32 QueuedSerialComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7187,7 +7187,7 @@ F32 QueuedSerialComponentBase :: F32 QueuedSerialComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7214,7 +7214,7 @@ F32 QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7247,7 +7247,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7262,7 +7262,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7277,7 +7277,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7292,7 +7292,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7307,7 +7307,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -7322,7 +7322,7 @@ void QueuedSerialComponentBase :: void QueuedSerialComponentBase :: m_p_serialSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index 3625816c8..54d421490 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -219,7 +219,7 @@ class QueuedSerialComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -232,91 +232,91 @@ class QueuedSerialComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -329,42 +329,42 @@ class QueuedSerialComponentBase : //! //! \return serialAsync[portNum] Fw::InputSerializePort* get_serialAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncAssert[portNum] Fw::InputSerializePort* get_serialAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncBlockPriority[portNum] Fw::InputSerializePort* get_serialAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialAsyncDropPriority[portNum] Fw::InputSerializePort* get_serialAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialGuarded[portNum] Fw::InputSerializePort* get_serialGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get serial input port at index //! //! \return serialSync[portNum] Fw::InputSerializePort* get_serialSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -375,31 +375,31 @@ class QueuedSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -407,7 +407,7 @@ class QueuedSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -415,13 +415,13 @@ class QueuedSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -433,25 +433,25 @@ class QueuedSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -465,25 +465,25 @@ class QueuedSerialComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -491,7 +491,7 @@ class QueuedSerialComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -499,13 +499,13 @@ class QueuedSerialComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -521,13 +521,13 @@ class QueuedSerialComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -543,7 +543,7 @@ class QueuedSerialComponentBase : //! Connect port to serialOut[portNum] void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPortBase* port //!< The port ); @@ -800,35 +800,35 @@ class QueuedSerialComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -837,7 +837,7 @@ class QueuedSerialComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -846,14 +846,14 @@ class QueuedSerialComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -866,28 +866,28 @@ class QueuedSerialComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -900,7 +900,7 @@ class QueuedSerialComponentBase : //! //! \return Whether port serialOut is connected bool isConnected_serialOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -911,32 +911,32 @@ class QueuedSerialComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -948,7 +948,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -960,7 +960,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -972,7 +972,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -984,7 +984,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -996,7 +996,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1008,7 +1008,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1020,7 +1020,7 @@ class QueuedSerialComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1040,32 +1040,32 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1077,7 +1077,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1089,7 +1089,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1101,7 +1101,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1113,7 +1113,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1125,7 +1125,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1137,7 +1137,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1149,7 +1149,7 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1167,37 +1167,37 @@ class QueuedSerialComponentBase : //! Handler for input port serialAsync virtual void serialAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncAssert virtual void serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncBlockPriority virtual void serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialAsyncDropPriority virtual void serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialGuarded virtual void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; //! Handler for input port serialSync virtual void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -1211,37 +1211,37 @@ class QueuedSerialComponentBase : //! Handler base-class function for input port serialAsync void serialAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncAssert void serialAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncBlockPriority void serialAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialAsyncDropPriority void serialAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialGuarded void serialGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Handler base-class function for input port serialSync void serialSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -1257,12 +1257,12 @@ class QueuedSerialComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1274,7 +1274,7 @@ class QueuedSerialComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1286,7 +1286,7 @@ class QueuedSerialComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1298,7 +1298,7 @@ class QueuedSerialComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1320,25 +1320,25 @@ class QueuedSerialComponentBase : //! Pre-message hook for async input port serialAsync virtual void serialAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncAssert virtual void serialAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncBlockPriority virtual void serialAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Pre-message hook for async input port serialAsyncDropPriority virtual void serialAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -1350,17 +1350,17 @@ class QueuedSerialComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1372,7 +1372,7 @@ class QueuedSerialComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1390,7 +1390,7 @@ class QueuedSerialComponentBase : //! Invoke output port serialOut Fw::SerializeStatus serialOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -2132,7 +2132,7 @@ class QueuedSerialComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -2147,37 +2147,37 @@ class QueuedSerialComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2190,7 +2190,7 @@ class QueuedSerialComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2203,7 +2203,7 @@ class QueuedSerialComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2216,7 +2216,7 @@ class QueuedSerialComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2229,7 +2229,7 @@ class QueuedSerialComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2242,7 +2242,7 @@ class QueuedSerialComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2255,7 +2255,7 @@ class QueuedSerialComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2268,7 +2268,7 @@ class QueuedSerialComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2289,42 +2289,42 @@ class QueuedSerialComponentBase : //! Callback for port serialAsync static void m_p_serialAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncAssert static void m_p_serialAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncBlockPriority static void m_p_serialAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialAsyncDropPriority static void m_p_serialAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialGuarded static void m_p_serialGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Callback for port serialSync static void m_p_serialSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp index 3373d2852..75c47ea9e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -237,8 +237,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -261,8 +261,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -285,8 +285,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -309,8 +309,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -333,8 +333,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -357,8 +357,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -381,8 +381,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -405,8 +405,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -429,8 +429,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -453,8 +453,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -477,8 +477,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -501,8 +501,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -525,8 +525,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -549,8 +549,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -573,8 +573,8 @@ void QueuedSyncProductsComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -597,8 +597,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -616,8 +616,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -635,8 +635,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -654,8 +654,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -673,8 +673,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -692,8 +692,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -711,8 +711,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -731,8 +731,8 @@ void QueuedSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -751,8 +751,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -770,8 +770,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -789,8 +789,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -808,8 +808,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -827,8 +827,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -846,8 +846,8 @@ void QueuedSyncProductsComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -878,7 +878,7 @@ void QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedSyncProductsComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -889,7 +889,7 @@ Fw::InputCmdPort* QueuedSyncProductsComponentBase :: } Fw::InputDpResponsePort* QueuedSyncProductsComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -904,7 +904,7 @@ Fw::InputDpResponsePort* QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -915,7 +915,7 @@ Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: } Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -926,7 +926,7 @@ Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedSyncProductsComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -937,7 +937,7 @@ Ports::InputNoArgsReturnPort* QueuedSyncProductsComponentBase :: } Ports::InputNoArgsReturnPort* QueuedSyncProductsComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -948,7 +948,7 @@ Ports::InputNoArgsReturnPort* QueuedSyncProductsComponentBase :: } Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -959,7 +959,7 @@ Ports::InputNoArgsPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -970,7 +970,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -981,7 +981,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -992,7 +992,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1003,7 +1003,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1014,7 +1014,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedSyncProductsComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1025,7 +1025,7 @@ Ports::InputTypedReturnPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedReturnPort* QueuedSyncProductsComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1036,7 +1036,7 @@ Ports::InputTypedReturnPort* QueuedSyncProductsComponentBase :: } Ports::InputTypedPort* QueuedSyncProductsComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1052,7 +1052,7 @@ Ports::InputTypedPort* QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1066,7 +1066,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1080,7 +1080,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1094,7 +1094,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1108,7 +1108,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1122,7 +1122,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1136,7 +1136,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1152,7 +1152,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1168,7 +1168,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1182,7 +1182,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1200,7 +1200,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1214,7 +1214,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1228,7 +1228,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1242,7 +1242,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1262,7 +1262,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1276,7 +1276,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1290,7 +1290,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1304,7 +1304,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1318,7 +1318,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1332,7 +1332,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1348,7 +1348,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1364,7 +1364,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1378,7 +1378,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1400,7 +1400,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1414,7 +1414,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1644,7 +1644,7 @@ NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedSyncProductsComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1655,7 +1655,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1666,7 +1666,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1677,7 +1677,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1688,7 +1688,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1699,7 +1699,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -1710,7 +1710,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -1723,7 +1723,7 @@ bool QueuedSyncProductsComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedSyncProductsComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1736,7 +1736,7 @@ bool QueuedSyncProductsComponentBase :: #endif bool QueuedSyncProductsComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1747,7 +1747,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1762,7 +1762,7 @@ bool QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- bool QueuedSyncProductsComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1773,7 +1773,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1784,7 +1784,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1795,7 +1795,7 @@ bool QueuedSyncProductsComponentBase :: } bool QueuedSyncProductsComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1813,7 +1813,7 @@ bool QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -1841,7 +1841,7 @@ void QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedSyncProductsComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1881,7 +1881,7 @@ void QueuedSyncProductsComponentBase :: } void QueuedSyncProductsComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1900,7 +1900,7 @@ void QueuedSyncProductsComponentBase :: } U32 QueuedSyncProductsComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1923,7 +1923,7 @@ U32 QueuedSyncProductsComponentBase :: } U32 QueuedSyncProductsComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1940,7 +1940,7 @@ U32 QueuedSyncProductsComponentBase :: } void QueuedSyncProductsComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1954,7 +1954,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2061,7 +2061,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2168,7 +2168,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2275,7 +2275,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2387,7 +2387,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2424,7 +2424,7 @@ void QueuedSyncProductsComponentBase :: F32 QueuedSyncProductsComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2465,7 +2465,7 @@ F32 QueuedSyncProductsComponentBase :: F32 QueuedSyncProductsComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2500,7 +2500,7 @@ F32 QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2539,7 +2539,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2557,14 +2557,14 @@ void QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedSyncProductsComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedSyncProductsComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2579,7 +2579,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2594,7 +2594,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2609,7 +2609,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2628,7 +2628,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -2645,7 +2645,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -2665,7 +2665,7 @@ void QueuedSyncProductsComponentBase :: // ---------------------------------------------------------------------- void QueuedSyncProductsComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2675,7 +2675,7 @@ void QueuedSyncProductsComponentBase :: } U32 QueuedSyncProductsComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2686,7 +2686,7 @@ U32 QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2713,7 +2713,7 @@ void QueuedSyncProductsComponentBase :: F32 QueuedSyncProductsComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2839,7 +2839,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSyncProductsComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3157,7 +3157,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3172,7 +3172,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -3195,7 +3195,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3206,7 +3206,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3217,7 +3217,7 @@ void QueuedSyncProductsComponentBase :: U32 QueuedSyncProductsComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3228,7 +3228,7 @@ U32 QueuedSyncProductsComponentBase :: U32 QueuedSyncProductsComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3239,7 +3239,7 @@ U32 QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3250,7 +3250,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3277,7 +3277,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3304,7 +3304,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3331,7 +3331,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3358,7 +3358,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3385,7 +3385,7 @@ void QueuedSyncProductsComponentBase :: F32 QueuedSyncProductsComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3412,7 +3412,7 @@ F32 QueuedSyncProductsComponentBase :: F32 QueuedSyncProductsComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3439,7 +3439,7 @@ F32 QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3480,7 +3480,7 @@ void QueuedSyncProductsComponentBase :: void QueuedSyncProductsComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp index 9df2783f1..c4ed8dea1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp @@ -223,14 +223,14 @@ class QueuedSyncProductsComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -243,91 +243,91 @@ class QueuedSyncProductsComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -338,43 +338,43 @@ class QueuedSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -382,7 +382,7 @@ class QueuedSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -390,13 +390,13 @@ class QueuedSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -408,25 +408,25 @@ class QueuedSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -440,37 +440,37 @@ class QueuedSyncProductsComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -478,7 +478,7 @@ class QueuedSyncProductsComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -486,13 +486,13 @@ class QueuedSyncProductsComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -508,13 +508,13 @@ class QueuedSyncProductsComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -717,49 +717,49 @@ class QueuedSyncProductsComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -768,7 +768,7 @@ class QueuedSyncProductsComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -777,14 +777,14 @@ class QueuedSyncProductsComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -797,28 +797,28 @@ class QueuedSyncProductsComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -831,7 +831,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -845,32 +845,32 @@ class QueuedSyncProductsComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -882,7 +882,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -894,7 +894,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -906,7 +906,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -918,7 +918,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -930,7 +930,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -942,7 +942,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -954,7 +954,7 @@ class QueuedSyncProductsComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -974,32 +974,32 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1011,7 +1011,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1023,7 +1023,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1035,7 +1035,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1047,7 +1047,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1059,7 +1059,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1071,7 +1071,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1083,7 +1083,7 @@ class QueuedSyncProductsComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1105,7 +1105,7 @@ class QueuedSyncProductsComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1123,12 +1123,12 @@ class QueuedSyncProductsComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1140,7 +1140,7 @@ class QueuedSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1152,7 +1152,7 @@ class QueuedSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1164,7 +1164,7 @@ class QueuedSyncProductsComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1182,14 +1182,14 @@ class QueuedSyncProductsComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1202,17 +1202,17 @@ class QueuedSyncProductsComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1224,7 +1224,7 @@ class QueuedSyncProductsComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1361,7 +1361,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1370,7 +1370,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1385,37 +1385,37 @@ class QueuedSyncProductsComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1428,7 +1428,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1441,7 +1441,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1454,7 +1454,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1467,7 +1467,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1480,7 +1480,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1493,7 +1493,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1506,7 +1506,7 @@ class QueuedSyncProductsComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1530,7 +1530,7 @@ class QueuedSyncProductsComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp index caa8c23e0..550c3351a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp @@ -45,10 +45,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -82,8 +82,8 @@ void QueuedTelemetryComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -106,8 +106,8 @@ void QueuedTelemetryComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -130,8 +130,8 @@ void QueuedTelemetryComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -154,8 +154,8 @@ void QueuedTelemetryComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -178,8 +178,8 @@ void QueuedTelemetryComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -202,8 +202,8 @@ void QueuedTelemetryComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -226,8 +226,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -250,8 +250,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -274,8 +274,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -298,8 +298,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -322,8 +322,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -346,8 +346,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -370,8 +370,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -394,8 +394,8 @@ void QueuedTelemetryComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -418,8 +418,8 @@ void QueuedTelemetryComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -437,8 +437,8 @@ void QueuedTelemetryComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -456,8 +456,8 @@ void QueuedTelemetryComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -475,8 +475,8 @@ void QueuedTelemetryComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -494,8 +494,8 @@ void QueuedTelemetryComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -514,8 +514,8 @@ void QueuedTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -534,8 +534,8 @@ void QueuedTelemetryComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -553,8 +553,8 @@ void QueuedTelemetryComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -572,8 +572,8 @@ void QueuedTelemetryComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -591,8 +591,8 @@ void QueuedTelemetryComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -610,8 +610,8 @@ void QueuedTelemetryComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -629,8 +629,8 @@ void QueuedTelemetryComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -661,7 +661,7 @@ void QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedTelemetryComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -676,7 +676,7 @@ Fw::InputCmdPort* QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -687,7 +687,7 @@ Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: } Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -698,7 +698,7 @@ Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* QueuedTelemetryComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -709,7 +709,7 @@ Ports::InputNoArgsReturnPort* QueuedTelemetryComponentBase :: } Ports::InputNoArgsReturnPort* QueuedTelemetryComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -720,7 +720,7 @@ Ports::InputNoArgsReturnPort* QueuedTelemetryComponentBase :: } Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -731,7 +731,7 @@ Ports::InputNoArgsPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -742,7 +742,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -753,7 +753,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -764,7 +764,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -775,7 +775,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -786,7 +786,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: } Ports::InputTypedReturnPort* QueuedTelemetryComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -797,7 +797,7 @@ Ports::InputTypedReturnPort* QueuedTelemetryComponentBase :: } Ports::InputTypedReturnPort* QueuedTelemetryComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -808,7 +808,7 @@ Ports::InputTypedReturnPort* QueuedTelemetryComponentBase :: } Ports::InputTypedPort* QueuedTelemetryComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -824,7 +824,7 @@ Ports::InputTypedPort* QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -838,7 +838,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -852,7 +852,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -866,7 +866,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -880,7 +880,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -896,7 +896,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -912,7 +912,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -926,7 +926,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -944,7 +944,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -958,7 +958,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -972,7 +972,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -986,7 +986,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1006,7 +1006,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1020,7 +1020,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1034,7 +1034,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1048,7 +1048,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1064,7 +1064,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1080,7 +1080,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1094,7 +1094,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1116,7 +1116,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1130,7 +1130,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1347,7 +1347,7 @@ NATIVE_INT_TYPE QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- bool QueuedTelemetryComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -1358,7 +1358,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -1369,7 +1369,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -1380,7 +1380,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -1391,7 +1391,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -1404,7 +1404,7 @@ bool QueuedTelemetryComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedTelemetryComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -1417,7 +1417,7 @@ bool QueuedTelemetryComponentBase :: #endif bool QueuedTelemetryComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -1428,7 +1428,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -1443,7 +1443,7 @@ bool QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- bool QueuedTelemetryComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -1454,7 +1454,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -1465,7 +1465,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -1476,7 +1476,7 @@ bool QueuedTelemetryComponentBase :: } bool QueuedTelemetryComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -1493,7 +1493,7 @@ bool QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- void QueuedTelemetryComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1533,7 +1533,7 @@ void QueuedTelemetryComponentBase :: } void QueuedTelemetryComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1552,7 +1552,7 @@ void QueuedTelemetryComponentBase :: } U32 QueuedTelemetryComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1575,7 +1575,7 @@ U32 QueuedTelemetryComponentBase :: } U32 QueuedTelemetryComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1592,7 +1592,7 @@ U32 QueuedTelemetryComponentBase :: } void QueuedTelemetryComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1606,7 +1606,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1713,7 +1713,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1820,7 +1820,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1927,7 +1927,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2039,7 +2039,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2076,7 +2076,7 @@ void QueuedTelemetryComponentBase :: F32 QueuedTelemetryComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2117,7 +2117,7 @@ F32 QueuedTelemetryComponentBase :: F32 QueuedTelemetryComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2152,7 +2152,7 @@ F32 QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2190,14 +2190,14 @@ void QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- void QueuedTelemetryComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedTelemetryComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2212,7 +2212,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2227,7 +2227,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2242,7 +2242,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2260,7 +2260,7 @@ void QueuedTelemetryComponentBase :: // ---------------------------------------------------------------------- void QueuedTelemetryComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2270,7 +2270,7 @@ void QueuedTelemetryComponentBase :: } U32 QueuedTelemetryComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2281,7 +2281,7 @@ U32 QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2308,7 +2308,7 @@ void QueuedTelemetryComponentBase :: F32 QueuedTelemetryComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2807,7 +2807,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTelemetryComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -3125,7 +3125,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -3144,7 +3144,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3155,7 +3155,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3166,7 +3166,7 @@ void QueuedTelemetryComponentBase :: U32 QueuedTelemetryComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3177,7 +3177,7 @@ U32 QueuedTelemetryComponentBase :: U32 QueuedTelemetryComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3188,7 +3188,7 @@ U32 QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -3199,7 +3199,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3226,7 +3226,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3253,7 +3253,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3280,7 +3280,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3307,7 +3307,7 @@ void QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3334,7 +3334,7 @@ void QueuedTelemetryComponentBase :: F32 QueuedTelemetryComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3361,7 +3361,7 @@ F32 QueuedTelemetryComponentBase :: F32 QueuedTelemetryComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3388,7 +3388,7 @@ F32 QueuedTelemetryComponentBase :: void QueuedTelemetryComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp index 01d36b81f..c0ee913ec 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp @@ -132,7 +132,7 @@ class QueuedTelemetryComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -145,91 +145,91 @@ class QueuedTelemetryComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -240,31 +240,31 @@ class QueuedTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); @@ -272,7 +272,7 @@ class QueuedTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -280,13 +280,13 @@ class QueuedTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -298,25 +298,25 @@ class QueuedTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -330,25 +330,25 @@ class QueuedTelemetryComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -356,7 +356,7 @@ class QueuedTelemetryComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -364,13 +364,13 @@ class QueuedTelemetryComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -386,13 +386,13 @@ class QueuedTelemetryComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -580,35 +580,35 @@ class QueuedTelemetryComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -617,7 +617,7 @@ class QueuedTelemetryComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -626,14 +626,14 @@ class QueuedTelemetryComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -646,28 +646,28 @@ class QueuedTelemetryComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -678,32 +678,32 @@ class QueuedTelemetryComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -715,7 +715,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -727,7 +727,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -739,7 +739,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -751,7 +751,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -763,7 +763,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -775,7 +775,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -787,7 +787,7 @@ class QueuedTelemetryComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -807,32 +807,32 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -844,7 +844,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -856,7 +856,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -868,7 +868,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -880,7 +880,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -892,7 +892,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -904,7 +904,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -916,7 +916,7 @@ class QueuedTelemetryComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -938,12 +938,12 @@ class QueuedTelemetryComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -955,7 +955,7 @@ class QueuedTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -967,7 +967,7 @@ class QueuedTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -979,7 +979,7 @@ class QueuedTelemetryComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -997,17 +997,17 @@ class QueuedTelemetryComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1019,7 +1019,7 @@ class QueuedTelemetryComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1167,7 +1167,7 @@ class QueuedTelemetryComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -1182,37 +1182,37 @@ class QueuedTelemetryComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1225,7 +1225,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1238,7 +1238,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1251,7 +1251,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1264,7 +1264,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1277,7 +1277,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1290,7 +1290,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1303,7 +1303,7 @@ class QueuedTelemetryComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp index 0372ce4e0..dc91485ed 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp @@ -81,10 +81,10 @@ namespace { SERIALIZATION_SIZE = sizeof(BuffUnion) + sizeof(NATIVE_INT_TYPE) + - sizeof(NATIVE_INT_TYPE) + sizeof(FwIndexType) }; - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -273,8 +273,8 @@ void QueuedTestComponentBase :: // Connect input port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdIn_InputPorts()); port++ ) { this->m_cmdIn_InputPort[port].init(); @@ -297,8 +297,8 @@ void QueuedTestComponentBase :: // Connect input port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRecvIn_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRecvIn_InputPorts()); port++ ) { this->m_productRecvIn_InputPort[port].init(); @@ -321,8 +321,8 @@ void QueuedTestComponentBase :: // Connect input port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsAsync_InputPorts()); port++ ) { this->m_noArgsAsync_InputPort[port].init(); @@ -345,8 +345,8 @@ void QueuedTestComponentBase :: // Connect input port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsGuarded_InputPorts()); port++ ) { this->m_noArgsGuarded_InputPort[port].init(); @@ -369,8 +369,8 @@ void QueuedTestComponentBase :: // Connect input port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnGuarded_InputPorts()); port++ ) { this->m_noArgsReturnGuarded_InputPort[port].init(); @@ -393,8 +393,8 @@ void QueuedTestComponentBase :: // Connect input port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnSync_InputPorts()); port++ ) { this->m_noArgsReturnSync_InputPort[port].init(); @@ -417,8 +417,8 @@ void QueuedTestComponentBase :: // Connect input port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsSync_InputPorts()); port++ ) { this->m_noArgsSync_InputPort[port].init(); @@ -441,8 +441,8 @@ void QueuedTestComponentBase :: // Connect input port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsync_InputPorts()); port++ ) { this->m_typedAsync_InputPort[port].init(); @@ -465,8 +465,8 @@ void QueuedTestComponentBase :: // Connect input port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncAssert_InputPorts()); port++ ) { this->m_typedAsyncAssert_InputPort[port].init(); @@ -489,8 +489,8 @@ void QueuedTestComponentBase :: // Connect input port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncBlockPriority_InputPorts()); port++ ) { this->m_typedAsyncBlockPriority_InputPort[port].init(); @@ -513,8 +513,8 @@ void QueuedTestComponentBase :: // Connect input port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedAsyncDropPriority_InputPorts()); port++ ) { this->m_typedAsyncDropPriority_InputPort[port].init(); @@ -537,8 +537,8 @@ void QueuedTestComponentBase :: // Connect input port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedGuarded_InputPorts()); port++ ) { this->m_typedGuarded_InputPort[port].init(); @@ -561,8 +561,8 @@ void QueuedTestComponentBase :: // Connect input port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnGuarded_InputPorts()); port++ ) { this->m_typedReturnGuarded_InputPort[port].init(); @@ -585,8 +585,8 @@ void QueuedTestComponentBase :: // Connect input port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnSync_InputPorts()); port++ ) { this->m_typedReturnSync_InputPort[port].init(); @@ -609,8 +609,8 @@ void QueuedTestComponentBase :: // Connect input port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedSync_InputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedSync_InputPorts()); port++ ) { this->m_typedSync_InputPort[port].init(); @@ -633,8 +633,8 @@ void QueuedTestComponentBase :: // Connect output port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdRegOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdRegOut_OutputPorts()); port++ ) { this->m_cmdRegOut_OutputPort[port].init(); @@ -652,8 +652,8 @@ void QueuedTestComponentBase :: // Connect output port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_cmdResponseOut_OutputPorts()); port++ ) { this->m_cmdResponseOut_OutputPort[port].init(); @@ -671,8 +671,8 @@ void QueuedTestComponentBase :: // Connect output port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_eventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_eventOut_OutputPorts()); port++ ) { this->m_eventOut_OutputPort[port].init(); @@ -690,8 +690,8 @@ void QueuedTestComponentBase :: // Connect output port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmGetOut_OutputPorts()); port++ ) { this->m_prmGetOut_OutputPort[port].init(); @@ -709,8 +709,8 @@ void QueuedTestComponentBase :: // Connect output port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_prmSetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_prmSetOut_OutputPorts()); port++ ) { this->m_prmSetOut_OutputPort[port].init(); @@ -728,8 +728,8 @@ void QueuedTestComponentBase :: // Connect output port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productRequestOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productRequestOut_OutputPorts()); port++ ) { this->m_productRequestOut_OutputPort[port].init(); @@ -747,8 +747,8 @@ void QueuedTestComponentBase :: // Connect output port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_productSendOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_productSendOut_OutputPorts()); port++ ) { this->m_productSendOut_OutputPort[port].init(); @@ -767,8 +767,8 @@ void QueuedTestComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect output port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_textEventOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_textEventOut_OutputPorts()); port++ ) { this->m_textEventOut_OutputPort[port].init(); @@ -787,8 +787,8 @@ void QueuedTestComponentBase :: // Connect output port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_timeGetOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_timeGetOut_OutputPorts()); port++ ) { this->m_timeGetOut_OutputPort[port].init(); @@ -806,8 +806,8 @@ void QueuedTestComponentBase :: // Connect output port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_tlmOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_tlmOut_OutputPorts()); port++ ) { this->m_tlmOut_OutputPort[port].init(); @@ -825,8 +825,8 @@ void QueuedTestComponentBase :: // Connect output port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsOut_OutputPorts()); port++ ) { this->m_noArgsOut_OutputPort[port].init(); @@ -844,8 +844,8 @@ void QueuedTestComponentBase :: // Connect output port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_noArgsReturnOut_OutputPorts()); port++ ) { this->m_noArgsReturnOut_OutputPort[port].init(); @@ -863,8 +863,8 @@ void QueuedTestComponentBase :: // Connect output port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedOut_OutputPorts()); port++ ) { this->m_typedOut_OutputPort[port].init(); @@ -882,8 +882,8 @@ void QueuedTestComponentBase :: // Connect output port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_typedReturnOut_OutputPorts()); + FwIndexType port = 0; + port < static_cast(this->getNum_typedReturnOut_OutputPorts()); port++ ) { this->m_typedReturnOut_OutputPort[port].init(); @@ -914,7 +914,7 @@ void QueuedTestComponentBase :: // ---------------------------------------------------------------------- Fw::InputCmdPort* QueuedTestComponentBase :: - get_cmdIn_InputPort(NATIVE_INT_TYPE portNum) + get_cmdIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdIn_InputPorts(), @@ -925,7 +925,7 @@ Fw::InputCmdPort* QueuedTestComponentBase :: } Fw::InputDpResponsePort* QueuedTestComponentBase :: - get_productRecvIn_InputPort(NATIVE_INT_TYPE portNum) + get_productRecvIn_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRecvIn_InputPorts(), @@ -940,7 +940,7 @@ Fw::InputDpResponsePort* QueuedTestComponentBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedTestComponentBase :: - get_noArgsAsync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsAsync_InputPorts(), @@ -951,7 +951,7 @@ Ports::InputNoArgsPort* QueuedTestComponentBase :: } Ports::InputNoArgsPort* QueuedTestComponentBase :: - get_noArgsGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsGuarded_InputPorts(), @@ -962,7 +962,7 @@ Ports::InputNoArgsPort* QueuedTestComponentBase :: } Ports::InputNoArgsReturnPort* QueuedTestComponentBase :: - get_noArgsReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnGuarded_InputPorts(), @@ -973,7 +973,7 @@ Ports::InputNoArgsReturnPort* QueuedTestComponentBase :: } Ports::InputNoArgsReturnPort* QueuedTestComponentBase :: - get_noArgsReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnSync_InputPorts(), @@ -984,7 +984,7 @@ Ports::InputNoArgsReturnPort* QueuedTestComponentBase :: } Ports::InputNoArgsPort* QueuedTestComponentBase :: - get_noArgsSync_InputPort(NATIVE_INT_TYPE portNum) + get_noArgsSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsSync_InputPorts(), @@ -995,7 +995,7 @@ Ports::InputNoArgsPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedAsync_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsync_InputPorts(), @@ -1006,7 +1006,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedAsyncAssert_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncAssert_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncAssert_InputPorts(), @@ -1017,7 +1017,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedAsyncBlockPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncBlockPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncBlockPriority_InputPorts(), @@ -1028,7 +1028,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedAsyncDropPriority_InputPort(NATIVE_INT_TYPE portNum) + get_typedAsyncDropPriority_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedAsyncDropPriority_InputPorts(), @@ -1039,7 +1039,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedGuarded_InputPorts(), @@ -1050,7 +1050,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: } Ports::InputTypedReturnPort* QueuedTestComponentBase :: - get_typedReturnGuarded_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnGuarded_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnGuarded_InputPorts(), @@ -1061,7 +1061,7 @@ Ports::InputTypedReturnPort* QueuedTestComponentBase :: } Ports::InputTypedReturnPort* QueuedTestComponentBase :: - get_typedReturnSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedReturnSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnSync_InputPorts(), @@ -1072,7 +1072,7 @@ Ports::InputTypedReturnPort* QueuedTestComponentBase :: } Ports::InputTypedPort* QueuedTestComponentBase :: - get_typedSync_InputPort(NATIVE_INT_TYPE portNum) + get_typedSync_InputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedSync_InputPorts(), @@ -1088,7 +1088,7 @@ Ports::InputTypedPort* QueuedTestComponentBase :: void QueuedTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdRegPort* port ) { @@ -1102,7 +1102,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdResponsePort* port ) { @@ -1116,7 +1116,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogPort* port ) { @@ -1130,7 +1130,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmGetPort* port ) { @@ -1144,7 +1144,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputPrmSetPort* port ) { @@ -1158,7 +1158,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpRequestPort* port ) { @@ -1172,7 +1172,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpSendPort* port ) { @@ -1188,7 +1188,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputLogTextPort* port ) { @@ -1204,7 +1204,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTimePort* port ) { @@ -1218,7 +1218,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputTlmPort* port ) { @@ -1236,7 +1236,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -1250,7 +1250,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -1264,7 +1264,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -1278,7 +1278,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -1298,7 +1298,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1312,7 +1312,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1326,7 +1326,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1340,7 +1340,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1354,7 +1354,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1368,7 +1368,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1384,7 +1384,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1400,7 +1400,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1414,7 +1414,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1436,7 +1436,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1450,7 +1450,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1997,7 +1997,7 @@ NATIVE_INT_TYPE QueuedTestComponentBase :: // ---------------------------------------------------------------------- bool QueuedTestComponentBase :: - isConnected_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdRegOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdRegOut_OutputPorts(), @@ -2008,7 +2008,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_cmdResponseOut_OutputPorts(), @@ -2019,7 +2019,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_eventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_eventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_eventOut_OutputPorts(), @@ -2030,7 +2030,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_prmGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmGetOut_OutputPorts(), @@ -2041,7 +2041,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_prmSetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_prmSetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_prmSetOut_OutputPorts(), @@ -2052,7 +2052,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_productRequestOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productRequestOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productRequestOut_OutputPorts(), @@ -2063,7 +2063,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_productSendOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_productSendOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_productSendOut_OutputPorts(), @@ -2076,7 +2076,7 @@ bool QueuedTestComponentBase :: #if FW_ENABLE_TEXT_LOGGING == 1 bool QueuedTestComponentBase :: - isConnected_textEventOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_textEventOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_textEventOut_OutputPorts(), @@ -2089,7 +2089,7 @@ bool QueuedTestComponentBase :: #endif bool QueuedTestComponentBase :: - isConnected_timeGetOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_timeGetOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_timeGetOut_OutputPorts(), @@ -2100,7 +2100,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_tlmOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_tlmOut_OutputPorts(), @@ -2115,7 +2115,7 @@ bool QueuedTestComponentBase :: // ---------------------------------------------------------------------- bool QueuedTestComponentBase :: - isConnected_noArgsOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -2126,7 +2126,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_noArgsReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_noArgsReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -2137,7 +2137,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_typedOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedOut_OutputPorts(), @@ -2148,7 +2148,7 @@ bool QueuedTestComponentBase :: } bool QueuedTestComponentBase :: - isConnected_typedReturnOut_OutputPort(NATIVE_INT_TYPE portNum) + isConnected_typedReturnOut_OutputPort(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_typedReturnOut_OutputPorts(), @@ -2166,7 +2166,7 @@ bool QueuedTestComponentBase :: void QueuedTestComponentBase :: productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2242,7 +2242,7 @@ void QueuedTestComponentBase :: // ---------------------------------------------------------------------- void QueuedTestComponentBase :: - noArgsAsync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsAsync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2282,7 +2282,7 @@ void QueuedTestComponentBase :: } void QueuedTestComponentBase :: - noArgsGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2301,7 +2301,7 @@ void QueuedTestComponentBase :: } U32 QueuedTestComponentBase :: - noArgsReturnGuarded_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2324,7 +2324,7 @@ U32 QueuedTestComponentBase :: } U32 QueuedTestComponentBase :: - noArgsReturnSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2341,7 +2341,7 @@ U32 QueuedTestComponentBase :: } void QueuedTestComponentBase :: - noArgsSync_handlerBase(NATIVE_INT_TYPE portNum) + noArgsSync_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -2355,7 +2355,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2462,7 +2462,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2569,7 +2569,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2676,7 +2676,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2788,7 +2788,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2825,7 +2825,7 @@ void QueuedTestComponentBase :: F32 QueuedTestComponentBase :: typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2866,7 +2866,7 @@ F32 QueuedTestComponentBase :: F32 QueuedTestComponentBase :: typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2901,7 +2901,7 @@ F32 QueuedTestComponentBase :: void QueuedTestComponentBase :: typedSync_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2940,7 +2940,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -2958,14 +2958,14 @@ void QueuedTestComponentBase :: // ---------------------------------------------------------------------- void QueuedTestComponentBase :: - noArgsAsync_preMsgHook(NATIVE_INT_TYPE portNum) + noArgsAsync_preMsgHook(FwIndexType portNum) { // Default: no-op } void QueuedTestComponentBase :: typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2980,7 +2980,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2995,7 +2995,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3010,7 +3010,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3029,7 +3029,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: productRequestOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -3046,7 +3046,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: productSendOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -3066,7 +3066,7 @@ void QueuedTestComponentBase :: // ---------------------------------------------------------------------- void QueuedTestComponentBase :: - noArgsOut_out(NATIVE_INT_TYPE portNum) + noArgsOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsOut_OutputPorts(), @@ -3076,7 +3076,7 @@ void QueuedTestComponentBase :: } U32 QueuedTestComponentBase :: - noArgsReturnOut_out(NATIVE_INT_TYPE portNum) + noArgsReturnOut_out(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_noArgsReturnOut_OutputPorts(), @@ -3087,7 +3087,7 @@ U32 QueuedTestComponentBase :: void QueuedTestComponentBase :: typedOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3114,7 +3114,7 @@ void QueuedTestComponentBase :: F32 QueuedTestComponentBase :: typedReturnOut_out( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3157,7 +3157,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3193,7 +3193,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3233,7 +3233,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3281,7 +3281,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3319,7 +3319,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3361,7 +3361,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - _status = msg.serialize(static_cast(0)); + _status = msg.serialize(static_cast(0)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4060,7 +4060,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4119,7 +4119,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4178,7 +4178,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4237,7 +4237,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -4301,7 +4301,7 @@ void QueuedTestComponentBase :: ); // Fake port number to make message dequeue work - NATIVE_INT_TYPE port = 0; + FwIndexType port = 0; _status = msg.serialize(port); FW_ASSERT ( @@ -5689,7 +5689,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTestComponentBase :: return MSG_DISPATCH_EXIT; } - NATIVE_INT_TYPE portNum = 0; + FwIndexType portNum = 0; deserStatus = msg.deserialize(portNum); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, @@ -6489,7 +6489,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer& args @@ -6781,7 +6781,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status @@ -6804,7 +6804,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6815,7 +6815,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6826,7 +6826,7 @@ void QueuedTestComponentBase :: U32 QueuedTestComponentBase :: m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6837,7 +6837,7 @@ U32 QueuedTestComponentBase :: U32 QueuedTestComponentBase :: m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6848,7 +6848,7 @@ U32 QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp); @@ -6859,7 +6859,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6886,7 +6886,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6913,7 +6913,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6940,7 +6940,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6967,7 +6967,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -6994,7 +6994,7 @@ void QueuedTestComponentBase :: F32 QueuedTestComponentBase :: m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7021,7 +7021,7 @@ F32 QueuedTestComponentBase :: F32 QueuedTestComponentBase :: m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7048,7 +7048,7 @@ F32 QueuedTestComponentBase :: void QueuedTestComponentBase :: m_p_typedSync_in( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -7391,7 +7391,7 @@ void QueuedTestComponentBase :: void QueuedTestComponentBase :: productRecvIn_handler( - const NATIVE_INT_TYPE portNum, + const FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer, const Fw::Success& status diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp index ef7686e69..b099dac14 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp @@ -308,14 +308,14 @@ class QueuedTestComponentBase : //! //! \return cmdIn[portNum] Fw::InputCmdPort* get_cmdIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get special input port at index //! //! \return productRecvIn[portNum] Fw::InputDpResponsePort* get_productRecvIn_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -328,91 +328,91 @@ class QueuedTestComponentBase : //! //! \return noArgsAsync[portNum] Ports::InputNoArgsPort* get_noArgsAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsGuarded[portNum] Ports::InputNoArgsPort* get_noArgsGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnGuarded[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsReturnSync[portNum] Ports::InputNoArgsReturnPort* get_noArgsReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return noArgsSync[portNum] Ports::InputNoArgsPort* get_noArgsSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsync[portNum] Ports::InputTypedPort* get_typedAsync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncAssert[portNum] Ports::InputTypedPort* get_typedAsyncAssert_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncBlockPriority[portNum] Ports::InputTypedPort* get_typedAsyncBlockPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedAsyncDropPriority[portNum] Ports::InputTypedPort* get_typedAsyncDropPriority_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedGuarded[portNum] Ports::InputTypedPort* get_typedGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnGuarded[portNum] Ports::InputTypedReturnPort* get_typedReturnGuarded_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedReturnSync[portNum] Ports::InputTypedReturnPort* get_typedReturnSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get typed input port at index //! //! \return typedSync[portNum] Ports::InputTypedPort* get_typedSync_InputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); public: @@ -423,43 +423,43 @@ class QueuedTestComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdRegPort* port //!< The input port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdResponsePort* port //!< The input port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogPort* port //!< The input port ); //! Connect port to prmGetOut[portNum] void set_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmGetPort* port //!< The input port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputPrmSetPort* port //!< The input port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpRequestPort* port //!< The input port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpSendPort* port //!< The input port ); @@ -467,7 +467,7 @@ class QueuedTestComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputLogTextPort* port //!< The input port ); @@ -475,13 +475,13 @@ class QueuedTestComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTimePort* port //!< The input port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputTlmPort* port //!< The input port ); @@ -493,25 +493,25 @@ class QueuedTestComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnOut[portNum] void set_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnOut[portNum] void set_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); @@ -525,37 +525,37 @@ class QueuedTestComponentBase : //! Connect port to cmdRegOut[portNum] void set_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to cmdResponseOut[portNum] void set_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to eventOut[portNum] void set_eventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to prmSetOut[portNum] void set_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productRequestOut[portNum] void set_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to productSendOut[portNum] void set_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -563,7 +563,7 @@ class QueuedTestComponentBase : //! Connect port to textEventOut[portNum] void set_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -571,13 +571,13 @@ class QueuedTestComponentBase : //! Connect port to timeGetOut[portNum] void set_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to tlmOut[portNum] void set_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -593,13 +593,13 @@ class QueuedTestComponentBase : //! Connect port to noArgsOut[portNum] void set_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); //! Connect port to typedOut[portNum] void set_typedOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The port ); @@ -824,49 +824,49 @@ class QueuedTestComponentBase : //! //! \return Whether port cmdRegOut is connected bool isConnected_cmdRegOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port cmdResponseOut is connected //! //! \return Whether port cmdResponseOut is connected bool isConnected_cmdResponseOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port eventOut is connected //! //! \return Whether port eventOut is connected bool isConnected_eventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmGetOut is connected //! //! \return Whether port prmGetOut is connected bool isConnected_prmGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port prmSetOut is connected //! //! \return Whether port prmSetOut is connected bool isConnected_prmSetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productRequestOut is connected //! //! \return Whether port productRequestOut is connected bool isConnected_productRequestOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port productSendOut is connected //! //! \return Whether port productSendOut is connected bool isConnected_productSendOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -875,7 +875,7 @@ class QueuedTestComponentBase : //! //! \return Whether port textEventOut is connected bool isConnected_textEventOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -884,14 +884,14 @@ class QueuedTestComponentBase : //! //! \return Whether port timeGetOut is connected bool isConnected_timeGetOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port tlmOut is connected //! //! \return Whether port tlmOut is connected bool isConnected_tlmOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -904,28 +904,28 @@ class QueuedTestComponentBase : //! //! \return Whether port noArgsOut is connected bool isConnected_noArgsOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port noArgsReturnOut is connected //! //! \return Whether port noArgsReturnOut is connected bool isConnected_noArgsReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedOut is connected //! //! \return Whether port typedOut is connected bool isConnected_typedOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port typedReturnOut is connected //! //! \return Whether port typedReturnOut is connected bool isConnected_typedReturnOut_OutputPort( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); PROTECTED: @@ -938,7 +938,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port productRecvIn void productRecvIn_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -952,32 +952,32 @@ class QueuedTestComponentBase : //! Handler for input port noArgsAsync virtual void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsGuarded virtual void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnGuarded virtual U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsReturnSync virtual U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port noArgsSync virtual void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port typedAsync virtual void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -989,7 +989,7 @@ class QueuedTestComponentBase : //! Handler for input port typedAsyncAssert virtual void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1001,7 +1001,7 @@ class QueuedTestComponentBase : //! Handler for input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1013,7 +1013,7 @@ class QueuedTestComponentBase : //! Handler for input port typedAsyncDropPriority virtual void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1025,7 +1025,7 @@ class QueuedTestComponentBase : //! Handler for input port typedGuarded virtual void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1037,7 +1037,7 @@ class QueuedTestComponentBase : //! Handler for input port typedReturnGuarded virtual F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1049,7 +1049,7 @@ class QueuedTestComponentBase : //! Handler for input port typedReturnSync virtual F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1061,7 +1061,7 @@ class QueuedTestComponentBase : //! Handler for input port typedSync virtual void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1081,32 +1081,32 @@ class QueuedTestComponentBase : //! Handler base-class function for input port noArgsAsync void noArgsAsync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsGuarded void noArgsGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnGuarded U32 noArgsReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsReturnSync U32 noArgsReturnSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port noArgsSync void noArgsSync_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for input port typedAsync void typedAsync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1118,7 +1118,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedAsyncAssert void typedAsyncAssert_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1130,7 +1130,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedAsyncBlockPriority void typedAsyncBlockPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1142,7 +1142,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedAsyncDropPriority void typedAsyncDropPriority_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1154,7 +1154,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedGuarded void typedGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1166,7 +1166,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedReturnGuarded F32 typedReturnGuarded_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1178,7 +1178,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedReturnSync F32 typedReturnSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1190,7 +1190,7 @@ class QueuedTestComponentBase : //! Handler base-class function for input port typedSync void typedSync_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1212,7 +1212,7 @@ class QueuedTestComponentBase : //! Pre-message hook for async input port productRecvIn virtual void productRecvIn_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -1230,12 +1230,12 @@ class QueuedTestComponentBase : //! Pre-message hook for async input port noArgsAsync virtual void noArgsAsync_preMsgHook( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Pre-message hook for async input port typedAsync virtual void typedAsync_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1247,7 +1247,7 @@ class QueuedTestComponentBase : //! Pre-message hook for async input port typedAsyncAssert virtual void typedAsyncAssert_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1259,7 +1259,7 @@ class QueuedTestComponentBase : //! Pre-message hook for async input port typedAsyncBlockPriority virtual void typedAsyncBlockPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1271,7 +1271,7 @@ class QueuedTestComponentBase : //! Pre-message hook for async input port typedAsyncDropPriority virtual void typedAsyncDropPriority_preMsgHook( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1289,14 +1289,14 @@ class QueuedTestComponentBase : //! Invoke output port productRequestOut void productRequestOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); //! Invoke output port productSendOut void productSendOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1309,17 +1309,17 @@ class QueuedTestComponentBase : //! Invoke output port noArgsOut void noArgsOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port noArgsReturnOut U32 noArgsReturnOut_out( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke output port typedOut void typedOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1331,7 +1331,7 @@ class QueuedTestComponentBase : //! Invoke output port typedReturnOut F32 typedReturnOut_out( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2162,7 +2162,7 @@ class QueuedTestComponentBase : //! Callback for port cmdIn static void m_p_cmdIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence Fw::CmdArgBuffer& args //!< Buffer containing arguments @@ -2171,7 +2171,7 @@ class QueuedTestComponentBase : //! Callback for port productRecvIn static void m_p_productRecvIn_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The status @@ -2186,37 +2186,37 @@ class QueuedTestComponentBase : //! Callback for port noArgsAsync static void m_p_noArgsAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsGuarded static void m_p_noArgsGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnGuarded static U32 m_p_noArgsReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsReturnSync static U32 m_p_noArgsReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port noArgsSync static void m_p_noArgsSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Callback for port typedAsync static void m_p_typedAsync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2229,7 +2229,7 @@ class QueuedTestComponentBase : //! Callback for port typedAsyncAssert static void m_p_typedAsyncAssert_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2242,7 +2242,7 @@ class QueuedTestComponentBase : //! Callback for port typedAsyncBlockPriority static void m_p_typedAsyncBlockPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2255,7 +2255,7 @@ class QueuedTestComponentBase : //! Callback for port typedAsyncDropPriority static void m_p_typedAsyncDropPriority_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2268,7 +2268,7 @@ class QueuedTestComponentBase : //! Callback for port typedGuarded static void m_p_typedGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2281,7 +2281,7 @@ class QueuedTestComponentBase : //! Callback for port typedReturnGuarded static F32 m_p_typedReturnGuarded_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2294,7 +2294,7 @@ class QueuedTestComponentBase : //! Callback for port typedReturnSync static F32 m_p_typedReturnSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2307,7 +2307,7 @@ class QueuedTestComponentBase : //! Callback for port typedSync static void m_p_typedSync_in( Fw::PassiveComponentBase* callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -2415,7 +2415,7 @@ class QueuedTestComponentBase : //! Handler implementation for productRecvIn void productRecvIn_handler( - const NATIVE_INT_TYPE portNum, //!< The port number + const FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container id const Fw::Buffer& buffer, //!< The buffer const Fw::Success& status //!< The buffer status diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.cpp index 8654a0350..b473ccc61 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.cpp @@ -29,38 +29,38 @@ ActiveAsyncProducts :: // ---------------------------------------------------------------------- void ActiveAsyncProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveAsyncProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveAsyncProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveAsyncProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveAsyncProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveAsyncProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveAsyncProducts :: void ActiveAsyncProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveAsyncProducts :: void ActiveAsyncProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveAsyncProducts :: void ActiveAsyncProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveAsyncProducts :: void ActiveAsyncProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveAsyncProducts :: F32 ActiveAsyncProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveAsyncProducts :: F32 ActiveAsyncProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveAsyncProducts :: void ActiveAsyncProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.hpp index b6d69299c..9e1a27642 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveAsyncProducts.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveAsyncProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveAsyncProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveAsyncProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveAsyncProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveAsyncProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.cpp index 1a5f20ca6..b74564a7d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.cpp @@ -29,38 +29,38 @@ ActiveCommands :: // ---------------------------------------------------------------------- void ActiveCommands :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveCommands :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveCommands :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveCommands :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveCommands :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveCommands :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveCommands :: void ActiveCommands :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveCommands :: void ActiveCommands :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveCommands :: void ActiveCommands :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveCommands :: void ActiveCommands :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveCommands :: F32 ActiveCommands :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveCommands :: F32 ActiveCommands :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveCommands :: void ActiveCommands :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.hpp index 153e824b0..5a19a9aa4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveCommands.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveCommands : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveCommands : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveCommands : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveCommands : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveCommands : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.cpp index 1aefa2bea..9239221ee 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.cpp @@ -29,38 +29,38 @@ ActiveEvents :: // ---------------------------------------------------------------------- void ActiveEvents :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveEvents :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveEvents :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveEvents :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveEvents :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveEvents :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveEvents :: void ActiveEvents :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveEvents :: void ActiveEvents :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveEvents :: void ActiveEvents :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveEvents :: void ActiveEvents :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveEvents :: F32 ActiveEvents :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveEvents :: F32 ActiveEvents :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveEvents :: void ActiveEvents :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.hpp index 645001da0..791af13d2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveEvents.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveEvents : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveEvents : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveEvents : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveEvents : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveEvents : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.cpp index 3f2f7abf6..cd9e67b76 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.cpp @@ -29,38 +29,38 @@ ActiveGetProducts :: // ---------------------------------------------------------------------- void ActiveGetProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveGetProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveGetProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveGetProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveGetProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveGetProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveGetProducts :: void ActiveGetProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveGetProducts :: void ActiveGetProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveGetProducts :: void ActiveGetProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveGetProducts :: void ActiveGetProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveGetProducts :: F32 ActiveGetProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveGetProducts :: F32 ActiveGetProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveGetProducts :: void ActiveGetProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.hpp index 5eeb88f82..ae66f472d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGetProducts.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveGetProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveGetProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveGetProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveGetProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveGetProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.cpp index 6ddf3f6d7..ec4dff511 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.cpp @@ -29,38 +29,38 @@ ActiveGuardedProducts :: // ---------------------------------------------------------------------- void ActiveGuardedProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveGuardedProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveGuardedProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveGuardedProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveGuardedProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveGuardedProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveGuardedProducts :: void ActiveGuardedProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveGuardedProducts :: void ActiveGuardedProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveGuardedProducts :: void ActiveGuardedProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveGuardedProducts :: void ActiveGuardedProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveGuardedProducts :: F32 ActiveGuardedProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveGuardedProducts :: F32 ActiveGuardedProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveGuardedProducts :: void ActiveGuardedProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.hpp index c2296896f..38545c290 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveGuardedProducts.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveGuardedProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveGuardedProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveGuardedProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveGuardedProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveGuardedProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.cpp index 06453966e..9fa10468d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.cpp @@ -29,25 +29,25 @@ ActiveNoArgsPortsOnly :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnly :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveNoArgsPortsOnly :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveNoArgsPortsOnly :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveNoArgsPortsOnly :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.hpp index 6cb4c616d..d6eecf8ab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveNoArgsPortsOnly.template.ref.hpp @@ -37,28 +37,28 @@ class ActiveNoArgsPortsOnly : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; }; diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.cpp index 4b7fa71f9..efdd13f74 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.cpp @@ -29,38 +29,38 @@ ActiveParams :: // ---------------------------------------------------------------------- void ActiveParams :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveParams :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveParams :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveParams :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveParams :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveParams :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveParams :: void ActiveParams :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveParams :: void ActiveParams :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveParams :: void ActiveParams :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveParams :: void ActiveParams :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveParams :: F32 ActiveParams :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveParams :: F32 ActiveParams :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveParams :: void ActiveParams :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.hpp index 506bfa120..4d2ac7f8d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveParams.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveParams : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveParams : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveParams : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveParams : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveParams : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.cpp index 78be62660..0c6eff2ce 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.cpp @@ -29,38 +29,38 @@ ActiveSerial :: // ---------------------------------------------------------------------- void ActiveSerial :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveSerial :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveSerial :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveSerial :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveSerial :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveSerial :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveSerial :: void ActiveSerial :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveSerial :: void ActiveSerial :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveSerial :: void ActiveSerial :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveSerial :: void ActiveSerial :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveSerial :: F32 ActiveSerial :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveSerial :: F32 ActiveSerial :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveSerial :: void ActiveSerial :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -184,7 +184,7 @@ void ActiveSerial :: void ActiveSerial :: serialAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -193,7 +193,7 @@ void ActiveSerial :: void ActiveSerial :: serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -202,7 +202,7 @@ void ActiveSerial :: void ActiveSerial :: serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -211,7 +211,7 @@ void ActiveSerial :: void ActiveSerial :: serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -220,7 +220,7 @@ void ActiveSerial :: void ActiveSerial :: serialGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -229,7 +229,7 @@ void ActiveSerial :: void ActiveSerial :: serialSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.hpp index 288c1b39a..81a1d364a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSerial.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveSerial : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveSerial : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveSerial : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveSerial : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveSerial : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -190,7 +190,7 @@ class ActiveSerial : //! //! A serial async input port void serialAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -198,7 +198,7 @@ class ActiveSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -206,7 +206,7 @@ class ActiveSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -214,7 +214,7 @@ class ActiveSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -222,7 +222,7 @@ class ActiveSerial : //! //! A serial guarded input void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -230,7 +230,7 @@ class ActiveSerial : //! //! A serial sync input port void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.cpp index d76718e0b..c279ff8cd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.cpp @@ -29,38 +29,38 @@ ActiveSyncProducts :: // ---------------------------------------------------------------------- void ActiveSyncProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveSyncProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveSyncProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveSyncProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveSyncProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveSyncProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveSyncProducts :: void ActiveSyncProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveSyncProducts :: void ActiveSyncProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveSyncProducts :: void ActiveSyncProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveSyncProducts :: void ActiveSyncProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveSyncProducts :: F32 ActiveSyncProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveSyncProducts :: F32 ActiveSyncProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveSyncProducts :: void ActiveSyncProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.hpp index e6d4206e4..5f9e3c4e6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveSyncProducts.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveSyncProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveSyncProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveSyncProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveSyncProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveSyncProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.cpp index 5e43f17ab..04e31dcaa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.cpp @@ -29,38 +29,38 @@ ActiveTelemetry :: // ---------------------------------------------------------------------- void ActiveTelemetry :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveTelemetry :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveTelemetry :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveTelemetry :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveTelemetry :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveTelemetry :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void ActiveTelemetry :: void ActiveTelemetry :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void ActiveTelemetry :: void ActiveTelemetry :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void ActiveTelemetry :: void ActiveTelemetry :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void ActiveTelemetry :: void ActiveTelemetry :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void ActiveTelemetry :: F32 ActiveTelemetry :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 ActiveTelemetry :: F32 ActiveTelemetry :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 ActiveTelemetry :: void ActiveTelemetry :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.hpp index ce5a963fa..12b2dd3ba 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTelemetry.template.ref.hpp @@ -37,42 +37,42 @@ class ActiveTelemetry : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class ActiveTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class ActiveTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class ActiveTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class ActiveTelemetry : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class ActiveTelemetry : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class ActiveTelemetry : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class ActiveTelemetry : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.cpp index 9bc7b78b4..930e009c6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.cpp @@ -31,38 +31,38 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTest :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void ActiveTest :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 ActiveTest :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 ActiveTest :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void ActiveTest :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void ActiveTest :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -77,7 +77,7 @@ namespace M { void ActiveTest :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -92,7 +92,7 @@ namespace M { void ActiveTest :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -107,7 +107,7 @@ namespace M { void ActiveTest :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -122,7 +122,7 @@ namespace M { void ActiveTest :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -137,7 +137,7 @@ namespace M { F32 ActiveTest :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -152,7 +152,7 @@ namespace M { F32 ActiveTest :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -167,7 +167,7 @@ namespace M { void ActiveTest :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.hpp index 13659f3b8..81ae9632b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/ActiveTest.template.ref.hpp @@ -39,42 +39,42 @@ namespace M { //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -88,7 +88,7 @@ namespace M { //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -102,7 +102,7 @@ namespace M { //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -116,7 +116,7 @@ namespace M { //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -130,7 +130,7 @@ namespace M { //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -144,7 +144,7 @@ namespace M { //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -158,7 +158,7 @@ namespace M { //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -172,7 +172,7 @@ namespace M { //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.cpp index 9318db314..48d5e903a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.cpp @@ -29,32 +29,32 @@ PassiveCommands :: // ---------------------------------------------------------------------- void PassiveCommands :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveCommands :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveCommands :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveCommands :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveCommands :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveCommands :: F32 PassiveCommands :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveCommands :: F32 PassiveCommands :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveCommands :: void PassiveCommands :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.hpp index be1c5695b..1fe69546d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveCommands.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveCommands : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveCommands : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveCommands : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveCommands : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.cpp index c2cd7a832..7574225d1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.cpp @@ -29,32 +29,32 @@ PassiveEvents :: // ---------------------------------------------------------------------- void PassiveEvents :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveEvents :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveEvents :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveEvents :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveEvents :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveEvents :: F32 PassiveEvents :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveEvents :: F32 PassiveEvents :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveEvents :: void PassiveEvents :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.hpp index 643185f47..21db235b3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveEvents.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveEvents : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveEvents : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveEvents : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveEvents : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.cpp index 8e14edd34..341b53a9d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.cpp @@ -29,32 +29,32 @@ PassiveGetProducts :: // ---------------------------------------------------------------------- void PassiveGetProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveGetProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveGetProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveGetProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveGetProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveGetProducts :: F32 PassiveGetProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveGetProducts :: F32 PassiveGetProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveGetProducts :: void PassiveGetProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.hpp index 8072997b5..b382284d6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGetProducts.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveGetProducts : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveGetProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveGetProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveGetProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.cpp index 58d083894..37fe655b7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.cpp @@ -29,32 +29,32 @@ PassiveGuardedProducts :: // ---------------------------------------------------------------------- void PassiveGuardedProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveGuardedProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveGuardedProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveGuardedProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveGuardedProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveGuardedProducts :: F32 PassiveGuardedProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveGuardedProducts :: F32 PassiveGuardedProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveGuardedProducts :: void PassiveGuardedProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.hpp index 4499e8cc6..39e2917aa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveGuardedProducts.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveGuardedProducts : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveGuardedProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveGuardedProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveGuardedProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.cpp index 451cbda0c..552fca57c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.cpp @@ -29,32 +29,32 @@ PassiveParams :: // ---------------------------------------------------------------------- void PassiveParams :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveParams :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveParams :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveParams :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveParams :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveParams :: F32 PassiveParams :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveParams :: F32 PassiveParams :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveParams :: void PassiveParams :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.hpp index 237d8a4f5..4a49c24e3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveParams.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveParams : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveParams : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveParams : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveParams : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.cpp index 7456bd217..255e6671b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.cpp @@ -29,32 +29,32 @@ PassiveSerial :: // ---------------------------------------------------------------------- void PassiveSerial :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveSerial :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveSerial :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveSerial :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveSerial :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveSerial :: F32 PassiveSerial :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveSerial :: F32 PassiveSerial :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveSerial :: void PassiveSerial :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -118,7 +118,7 @@ void PassiveSerial :: void PassiveSerial :: serialGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -127,7 +127,7 @@ void PassiveSerial :: void PassiveSerial :: serialSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.hpp index 2d03d14fe..ed5b76289 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSerial.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveSerial : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveSerial : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveSerial : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveSerial : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -127,7 +127,7 @@ class PassiveSerial : //! //! A serial guarded input void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -135,7 +135,7 @@ class PassiveSerial : //! //! A serial sync input port void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.cpp index 4be24f224..64f1bbadd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.cpp @@ -29,32 +29,32 @@ PassiveSyncProducts :: // ---------------------------------------------------------------------- void PassiveSyncProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveSyncProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveSyncProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveSyncProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveSyncProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveSyncProducts :: F32 PassiveSyncProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveSyncProducts :: F32 PassiveSyncProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveSyncProducts :: void PassiveSyncProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.hpp index 5704fb313..701fdf7ac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveSyncProducts.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveSyncProducts : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveSyncProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveSyncProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveSyncProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.cpp index 7d2e7e48e..bd778beb2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.cpp @@ -29,32 +29,32 @@ PassiveTelemetry :: // ---------------------------------------------------------------------- void PassiveTelemetry :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveTelemetry :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveTelemetry :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveTelemetry :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveTelemetry :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveTelemetry :: F32 PassiveTelemetry :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveTelemetry :: F32 PassiveTelemetry :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveTelemetry :: void PassiveTelemetry :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.hpp index 701be7e7b..c68a89b6c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveTelemetry : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveTelemetry : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveTelemetry : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveTelemetry : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.cpp index 4bbe88ac7..ffe989c8e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.cpp @@ -29,32 +29,32 @@ PassiveTest :: // ---------------------------------------------------------------------- void PassiveTest :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 PassiveTest :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 PassiveTest :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void PassiveTest :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void PassiveTest :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -69,7 +69,7 @@ void PassiveTest :: F32 PassiveTest :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -84,7 +84,7 @@ F32 PassiveTest :: F32 PassiveTest :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -99,7 +99,7 @@ F32 PassiveTest :: void PassiveTest :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.hpp index 2fd4cdd68..6916a4b54 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTest.template.ref.hpp @@ -37,35 +37,35 @@ class PassiveTest : //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedGuarded //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -79,7 +79,7 @@ class PassiveTest : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -93,7 +93,7 @@ class PassiveTest : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -107,7 +107,7 @@ class PassiveTest : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.cpp index 0fcce31c7..2aae92883 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.cpp @@ -29,38 +29,38 @@ QueuedAsyncProducts :: // ---------------------------------------------------------------------- void QueuedAsyncProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedAsyncProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedAsyncProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedAsyncProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedAsyncProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedAsyncProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedAsyncProducts :: void QueuedAsyncProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedAsyncProducts :: void QueuedAsyncProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedAsyncProducts :: void QueuedAsyncProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedAsyncProducts :: void QueuedAsyncProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedAsyncProducts :: F32 QueuedAsyncProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedAsyncProducts :: F32 QueuedAsyncProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedAsyncProducts :: void QueuedAsyncProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.hpp index a2b9bfe2b..7f156e3b0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedAsyncProducts.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedAsyncProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedAsyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedAsyncProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedAsyncProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedAsyncProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedAsyncProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.cpp index e304acfb8..54e7182ac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.cpp @@ -29,38 +29,38 @@ QueuedCommands :: // ---------------------------------------------------------------------- void QueuedCommands :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedCommands :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedCommands :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedCommands :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedCommands :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedCommands :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedCommands :: void QueuedCommands :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedCommands :: void QueuedCommands :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedCommands :: void QueuedCommands :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedCommands :: void QueuedCommands :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedCommands :: F32 QueuedCommands :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedCommands :: F32 QueuedCommands :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedCommands :: void QueuedCommands :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.hpp index 3ede8d716..3fcfd3dc9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedCommands.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedCommands : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedCommands : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedCommands : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedCommands : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedCommands : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedCommands : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.cpp index 11442f9a9..49103fd58 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.cpp @@ -29,38 +29,38 @@ QueuedEvents :: // ---------------------------------------------------------------------- void QueuedEvents :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedEvents :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedEvents :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedEvents :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedEvents :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedEvents :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedEvents :: void QueuedEvents :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedEvents :: void QueuedEvents :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedEvents :: void QueuedEvents :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedEvents :: void QueuedEvents :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedEvents :: F32 QueuedEvents :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedEvents :: F32 QueuedEvents :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedEvents :: void QueuedEvents :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.hpp index 2df37054a..36d5d192f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedEvents.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedEvents : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedEvents : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedEvents : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedEvents : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedEvents : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedEvents : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.cpp index 67c0cc8d0..a92559ab7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.cpp @@ -29,38 +29,38 @@ QueuedGetProducts :: // ---------------------------------------------------------------------- void QueuedGetProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedGetProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedGetProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedGetProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedGetProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedGetProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedGetProducts :: void QueuedGetProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedGetProducts :: void QueuedGetProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedGetProducts :: void QueuedGetProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedGetProducts :: void QueuedGetProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedGetProducts :: F32 QueuedGetProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedGetProducts :: F32 QueuedGetProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedGetProducts :: void QueuedGetProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.hpp index f5a04064e..78ee01673 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGetProducts.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedGetProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedGetProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedGetProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedGetProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedGetProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedGetProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.cpp index 94e18402c..d2e4df6f7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.cpp @@ -29,38 +29,38 @@ QueuedGuardedProducts :: // ---------------------------------------------------------------------- void QueuedGuardedProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedGuardedProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedGuardedProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedGuardedProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedGuardedProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedGuardedProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedGuardedProducts :: void QueuedGuardedProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedGuardedProducts :: void QueuedGuardedProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedGuardedProducts :: void QueuedGuardedProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedGuardedProducts :: void QueuedGuardedProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedGuardedProducts :: F32 QueuedGuardedProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedGuardedProducts :: F32 QueuedGuardedProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedGuardedProducts :: void QueuedGuardedProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.hpp index 641f5e6c7..2e47ba643 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedGuardedProducts.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedGuardedProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedGuardedProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedGuardedProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedGuardedProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedGuardedProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedGuardedProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.cpp index 5c2ff1291..eb7d25b5c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.cpp @@ -29,25 +29,25 @@ QueuedNoArgsPortsOnly :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnly :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedNoArgsPortsOnly :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedNoArgsPortsOnly :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedNoArgsPortsOnly :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.hpp index 5ebefdde6..272487e75 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedNoArgsPortsOnly.template.ref.hpp @@ -37,28 +37,28 @@ class QueuedNoArgsPortsOnly : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; }; diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.cpp index 7aec6b549..dc1776672 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.cpp @@ -29,38 +29,38 @@ QueuedParams :: // ---------------------------------------------------------------------- void QueuedParams :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedParams :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedParams :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedParams :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedParams :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedParams :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedParams :: void QueuedParams :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedParams :: void QueuedParams :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedParams :: void QueuedParams :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedParams :: void QueuedParams :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedParams :: F32 QueuedParams :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedParams :: F32 QueuedParams :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedParams :: void QueuedParams :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.hpp index 9156a9f89..9c7bcabf6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedParams.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedParams : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedParams : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedParams : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedParams : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedParams : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedParams : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.cpp index 60b0bc4ae..820b1ba8e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.cpp @@ -29,38 +29,38 @@ QueuedSerial :: // ---------------------------------------------------------------------- void QueuedSerial :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedSerial :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedSerial :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedSerial :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedSerial :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedSerial :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedSerial :: void QueuedSerial :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedSerial :: void QueuedSerial :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedSerial :: void QueuedSerial :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedSerial :: void QueuedSerial :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedSerial :: F32 QueuedSerial :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedSerial :: F32 QueuedSerial :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedSerial :: void QueuedSerial :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -184,7 +184,7 @@ void QueuedSerial :: void QueuedSerial :: serialAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -193,7 +193,7 @@ void QueuedSerial :: void QueuedSerial :: serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -202,7 +202,7 @@ void QueuedSerial :: void QueuedSerial :: serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -211,7 +211,7 @@ void QueuedSerial :: void QueuedSerial :: serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -220,7 +220,7 @@ void QueuedSerial :: void QueuedSerial :: serialGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -229,7 +229,7 @@ void QueuedSerial :: void QueuedSerial :: serialSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.hpp index 800133fa8..fde4748da 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSerial.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedSerial : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedSerial : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedSerial : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedSerial : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedSerial : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedSerial : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -190,7 +190,7 @@ class QueuedSerial : //! //! A serial async input port void serialAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -198,7 +198,7 @@ class QueuedSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -206,7 +206,7 @@ class QueuedSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -214,7 +214,7 @@ class QueuedSerial : //! //! A serial async input port with queue full behavior and priority void serialAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -222,7 +222,7 @@ class QueuedSerial : //! //! A serial guarded input void serialGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; @@ -230,7 +230,7 @@ class QueuedSerial : //! //! A serial sync input port void serialSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) override; diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.cpp index c4070215b..759e2fedb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.cpp @@ -29,38 +29,38 @@ QueuedSyncProducts :: // ---------------------------------------------------------------------- void QueuedSyncProducts :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedSyncProducts :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedSyncProducts :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedSyncProducts :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedSyncProducts :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedSyncProducts :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedSyncProducts :: void QueuedSyncProducts :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedSyncProducts :: void QueuedSyncProducts :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedSyncProducts :: void QueuedSyncProducts :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedSyncProducts :: void QueuedSyncProducts :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedSyncProducts :: F32 QueuedSyncProducts :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedSyncProducts :: F32 QueuedSyncProducts :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedSyncProducts :: void QueuedSyncProducts :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.hpp index 6e8c1a69f..89f67755a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedSyncProducts.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedSyncProducts : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedSyncProducts : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedSyncProducts : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedSyncProducts : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedSyncProducts : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedSyncProducts : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.cpp index 960f119a1..3e469eda7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.cpp @@ -29,38 +29,38 @@ QueuedTelemetry :: // ---------------------------------------------------------------------- void QueuedTelemetry :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedTelemetry :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedTelemetry :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedTelemetry :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedTelemetry :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedTelemetry :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedTelemetry :: void QueuedTelemetry :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedTelemetry :: void QueuedTelemetry :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedTelemetry :: void QueuedTelemetry :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedTelemetry :: void QueuedTelemetry :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedTelemetry :: F32 QueuedTelemetry :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedTelemetry :: F32 QueuedTelemetry :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedTelemetry :: void QueuedTelemetry :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.hpp index 1dbad1316..691d82939 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTelemetry.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedTelemetry : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedTelemetry : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedTelemetry : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedTelemetry : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedTelemetry : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedTelemetry : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.cpp index 426e3c1d0..7b60cb530 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.cpp @@ -29,38 +29,38 @@ QueuedTest :: // ---------------------------------------------------------------------- void QueuedTest :: - noArgsAsync_handler(NATIVE_INT_TYPE portNum) + noArgsAsync_handler(FwIndexType portNum) { // TODO } void QueuedTest :: - noArgsGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsGuarded_handler(FwIndexType portNum) { // TODO } U32 QueuedTest :: - noArgsReturnGuarded_handler(NATIVE_INT_TYPE portNum) + noArgsReturnGuarded_handler(FwIndexType portNum) { // TODO return } U32 QueuedTest :: - noArgsReturnSync_handler(NATIVE_INT_TYPE portNum) + noArgsReturnSync_handler(FwIndexType portNum) { // TODO return } void QueuedTest :: - noArgsSync_handler(NATIVE_INT_TYPE portNum) + noArgsSync_handler(FwIndexType portNum) { // TODO } void QueuedTest :: typedAsync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -75,7 +75,7 @@ void QueuedTest :: void QueuedTest :: typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -90,7 +90,7 @@ void QueuedTest :: void QueuedTest :: typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -105,7 +105,7 @@ void QueuedTest :: void QueuedTest :: typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -120,7 +120,7 @@ void QueuedTest :: void QueuedTest :: typedGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -135,7 +135,7 @@ void QueuedTest :: F32 QueuedTest :: typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -150,7 +150,7 @@ F32 QueuedTest :: F32 QueuedTest :: typedReturnSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -165,7 +165,7 @@ F32 QueuedTest :: void QueuedTest :: typedSync_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.hpp index b8ed6da45..541c9c283 100644 --- a/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/impl/QueuedTest.template.ref.hpp @@ -37,42 +37,42 @@ class QueuedTest : //! //! A typed async input port void noArgsAsync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsGuarded //! //! A typed guarded input void noArgsGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnGuarded //! //! A typed guarded input U32 noArgsReturnGuarded_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsReturnSync //! //! A typed sync input port U32 noArgsReturnSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for noArgsSync //! //! A typed sync input port void noArgsSync_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) override; //! Handler implementation for typedAsync //! //! A typed async input port void typedAsync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -86,7 +86,7 @@ class QueuedTest : //! //! A typed async input port with queue full behavior and priority void typedAsyncAssert_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -100,7 +100,7 @@ class QueuedTest : //! //! A typed async input port with queue full behavior and priority void typedAsyncBlockPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -114,7 +114,7 @@ class QueuedTest : //! //! A typed async input port with queue full behavior and priority void typedAsyncDropPriority_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -128,7 +128,7 @@ class QueuedTest : //! //! A typed guarded input void typedGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -142,7 +142,7 @@ class QueuedTest : //! //! A typed guarded input with a return type F32 typedReturnGuarded_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -156,7 +156,7 @@ class QueuedTest : //! //! A typed sync input port with a return type F32 typedReturnSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -170,7 +170,7 @@ class QueuedTest : //! //! A typed sync input port void typedSync_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp index fe7254c6f..f8eecbb74 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp @@ -26,7 +26,7 @@ void ActiveAsyncProductPortsOnlyTesterBase :: void ActiveAsyncProductPortsOnlyTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -43,7 +43,7 @@ void ActiveAsyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Fw::InputDpRequestPort* ActiveAsyncProductPortsOnlyTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -54,7 +54,7 @@ Fw::InputDpRequestPort* ActiveAsyncProductPortsOnlyTesterBase :: } Fw::InputDpSendPort* ActiveAsyncProductPortsOnlyTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -111,7 +111,7 @@ NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- bool ActiveAsyncProductPortsOnlyTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp index 9771df3c5..427e1f820 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp @@ -39,7 +39,7 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); @@ -53,14 +53,14 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -109,7 +109,7 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); private: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp index ab67977bf..e1bb42783 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void ActiveAsyncProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void ActiveAsyncProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void ActiveAsyncProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveAsyncProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* ActiveAsyncProductsTesterBase :: } Fw::InputCmdResponsePort* ActiveAsyncProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* ActiveAsyncProductsTesterBase :: } Fw::InputLogPort* ActiveAsyncProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* ActiveAsyncProductsTesterBase :: } Fw::InputPrmGetPort* ActiveAsyncProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* ActiveAsyncProductsTesterBase :: } Fw::InputPrmSetPort* ActiveAsyncProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* ActiveAsyncProductsTesterBase :: } Fw::InputDpRequestPort* ActiveAsyncProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* ActiveAsyncProductsTesterBase :: } Fw::InputDpSendPort* ActiveAsyncProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* ActiveAsyncProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveAsyncProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* ActiveAsyncProductsTesterBase :: #endif Fw::InputTimePort* ActiveAsyncProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* ActiveAsyncProductsTesterBase :: } Fw::InputTlmPort* ActiveAsyncProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* ActiveAsyncProductsTesterBase :: } Ports::InputNoArgsPort* ActiveAsyncProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* ActiveAsyncProductsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveAsyncProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* ActiveAsyncProductsTesterBase :: } Ports::InputTypedPort* ActiveAsyncProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* ActiveAsyncProductsTesterBase :: } Ports::InputTypedReturnPort* ActiveAsyncProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ ActiveAsyncProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveAsyncProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void ActiveAsyncProductsTesterBase :: } U32 ActiveAsyncProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void ActiveAsyncProductsTesterBase :: F32 ActiveAsyncProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 ActiveAsyncProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveAsyncProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void ActiveAsyncProductsTesterBase :: } void ActiveAsyncProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void ActiveAsyncProductsTesterBase :: } U32 ActiveAsyncProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 ActiveAsyncProductsTesterBase :: } U32 ActiveAsyncProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 ActiveAsyncProductsTesterBase :: } void ActiveAsyncProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void ActiveAsyncProductsTesterBase :: F32 ActiveAsyncProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 ActiveAsyncProductsTesterBase :: F32 ActiveAsyncProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: // ---------------------------------------------------------------------- bool ActiveAsyncProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool ActiveAsyncProductsTesterBase :: } bool ActiveAsyncProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void ActiveAsyncProductsTesterBase :: U32 ActiveAsyncProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 ActiveAsyncProductsTesterBase :: void ActiveAsyncProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void ActiveAsyncProductsTesterBase :: F32 ActiveAsyncProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp index 095ee522c..c95d5b179 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class ActiveAsyncProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class ActiveAsyncProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class ActiveAsyncProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class ActiveAsyncProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class ActiveAsyncProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class ActiveAsyncProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class ActiveAsyncProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class ActiveAsyncProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class ActiveAsyncProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class ActiveAsyncProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class ActiveAsyncProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class ActiveAsyncProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class ActiveAsyncProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class ActiveAsyncProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp index cb01fa1bf..6240d4793 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveCommandsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void ActiveCommandsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void ActiveCommandsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveCommandsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void ActiveCommandsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void ActiveCommandsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void ActiveCommandsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveCommandsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -208,8 +208,8 @@ void ActiveCommandsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void ActiveCommandsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void ActiveCommandsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void ActiveCommandsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void ActiveCommandsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void ActiveCommandsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -488,7 +488,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -516,7 +516,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -544,7 +544,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -558,7 +558,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -628,7 +628,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -659,7 +659,7 @@ void ActiveCommandsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveCommandsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -670,7 +670,7 @@ Fw::InputCmdRegPort* ActiveCommandsTesterBase :: } Fw::InputCmdResponsePort* ActiveCommandsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -681,7 +681,7 @@ Fw::InputCmdResponsePort* ActiveCommandsTesterBase :: } Fw::InputLogPort* ActiveCommandsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -692,7 +692,7 @@ Fw::InputLogPort* ActiveCommandsTesterBase :: } Fw::InputPrmGetPort* ActiveCommandsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -703,7 +703,7 @@ Fw::InputPrmGetPort* ActiveCommandsTesterBase :: } Fw::InputPrmSetPort* ActiveCommandsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -716,7 +716,7 @@ Fw::InputPrmSetPort* ActiveCommandsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveCommandsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -729,7 +729,7 @@ Fw::InputLogTextPort* ActiveCommandsTesterBase :: #endif Fw::InputTimePort* ActiveCommandsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -740,7 +740,7 @@ Fw::InputTimePort* ActiveCommandsTesterBase :: } Fw::InputTlmPort* ActiveCommandsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -751,7 +751,7 @@ Fw::InputTlmPort* ActiveCommandsTesterBase :: } Ports::InputNoArgsPort* ActiveCommandsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -762,7 +762,7 @@ Ports::InputNoArgsPort* ActiveCommandsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveCommandsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -773,7 +773,7 @@ Ports::InputNoArgsReturnPort* ActiveCommandsTesterBase :: } Ports::InputTypedPort* ActiveCommandsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -784,7 +784,7 @@ Ports::InputTypedPort* ActiveCommandsTesterBase :: } Ports::InputTypedReturnPort* ActiveCommandsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -832,7 +832,7 @@ ActiveCommandsTesterBase :: // ---------------------------------------------------------------------- void ActiveCommandsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -843,7 +843,7 @@ void ActiveCommandsTesterBase :: } U32 ActiveCommandsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -855,7 +855,7 @@ U32 ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -884,7 +884,7 @@ void ActiveCommandsTesterBase :: F32 ActiveCommandsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -916,7 +916,7 @@ F32 ActiveCommandsTesterBase :: // ---------------------------------------------------------------------- void ActiveCommandsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -927,7 +927,7 @@ void ActiveCommandsTesterBase :: } void ActiveCommandsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -938,7 +938,7 @@ void ActiveCommandsTesterBase :: } U32 ActiveCommandsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -949,7 +949,7 @@ U32 ActiveCommandsTesterBase :: } U32 ActiveCommandsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -960,7 +960,7 @@ U32 ActiveCommandsTesterBase :: } void ActiveCommandsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -972,7 +972,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1000,7 +1000,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1028,7 +1028,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1056,7 +1056,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1084,7 +1084,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1112,7 +1112,7 @@ void ActiveCommandsTesterBase :: F32 ActiveCommandsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1140,7 +1140,7 @@ F32 ActiveCommandsTesterBase :: F32 ActiveCommandsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1168,7 +1168,7 @@ F32 ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1363,7 +1363,7 @@ NATIVE_INT_TYPE ActiveCommandsTesterBase :: // ---------------------------------------------------------------------- bool ActiveCommandsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1374,7 +1374,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1385,7 +1385,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1396,7 +1396,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1407,7 +1407,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1418,7 +1418,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1429,7 +1429,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1440,7 +1440,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1451,7 +1451,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1462,7 +1462,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1473,7 +1473,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1484,7 +1484,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1495,7 +1495,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1506,7 +1506,7 @@ bool ActiveCommandsTesterBase :: } bool ActiveCommandsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2227,7 +2227,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -2237,7 +2237,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -2250,7 +2250,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2261,7 +2261,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2272,7 +2272,7 @@ void ActiveCommandsTesterBase :: U32 ActiveCommandsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2283,7 +2283,7 @@ U32 ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2310,7 +2310,7 @@ void ActiveCommandsTesterBase :: F32 ActiveCommandsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp index 4f7be8c33..844cb21d0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp @@ -154,85 +154,85 @@ class ActiveCommandsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -246,35 +246,35 @@ class ActiveCommandsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -283,7 +283,7 @@ class ActiveCommandsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -292,42 +292,42 @@ class ActiveCommandsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -353,17 +353,17 @@ class ActiveCommandsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -375,7 +375,7 @@ class ActiveCommandsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -393,17 +393,17 @@ class ActiveCommandsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -415,7 +415,7 @@ class ActiveCommandsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -433,32 +433,32 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -470,7 +470,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -482,7 +482,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -494,7 +494,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -506,7 +506,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -518,7 +518,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -530,7 +530,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -542,7 +542,7 @@ class ActiveCommandsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -702,98 +702,98 @@ class ActiveCommandsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -996,14 +996,14 @@ class ActiveCommandsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1012,26 +1012,26 @@ class ActiveCommandsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1044,7 +1044,7 @@ class ActiveCommandsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp index f8084b07b..371be2292 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveEventsTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -46,8 +46,8 @@ void ActiveEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -71,8 +71,8 @@ void ActiveEventsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -95,8 +95,8 @@ void ActiveEventsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -119,8 +119,8 @@ void ActiveEventsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -143,8 +143,8 @@ void ActiveEventsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -167,8 +167,8 @@ void ActiveEventsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -191,8 +191,8 @@ void ActiveEventsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -210,8 +210,8 @@ void ActiveEventsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -229,8 +229,8 @@ void ActiveEventsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -248,8 +248,8 @@ void ActiveEventsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -267,8 +267,8 @@ void ActiveEventsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -286,8 +286,8 @@ void ActiveEventsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -305,8 +305,8 @@ void ActiveEventsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -324,8 +324,8 @@ void ActiveEventsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -343,8 +343,8 @@ void ActiveEventsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -362,8 +362,8 @@ void ActiveEventsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -381,8 +381,8 @@ void ActiveEventsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -400,8 +400,8 @@ void ActiveEventsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -419,8 +419,8 @@ void ActiveEventsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -443,7 +443,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -457,7 +457,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -471,7 +471,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -485,7 +485,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -499,7 +499,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -513,7 +513,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -527,7 +527,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -541,7 +541,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -555,7 +555,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -569,7 +569,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -583,7 +583,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -597,7 +597,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -611,7 +611,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -625,7 +625,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -642,7 +642,7 @@ void ActiveEventsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveEventsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -653,7 +653,7 @@ Fw::InputCmdRegPort* ActiveEventsTesterBase :: } Fw::InputCmdResponsePort* ActiveEventsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -664,7 +664,7 @@ Fw::InputCmdResponsePort* ActiveEventsTesterBase :: } Fw::InputLogPort* ActiveEventsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -675,7 +675,7 @@ Fw::InputLogPort* ActiveEventsTesterBase :: } Fw::InputPrmGetPort* ActiveEventsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -686,7 +686,7 @@ Fw::InputPrmGetPort* ActiveEventsTesterBase :: } Fw::InputPrmSetPort* ActiveEventsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -699,7 +699,7 @@ Fw::InputPrmSetPort* ActiveEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveEventsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -712,7 +712,7 @@ Fw::InputLogTextPort* ActiveEventsTesterBase :: #endif Fw::InputTimePort* ActiveEventsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -723,7 +723,7 @@ Fw::InputTimePort* ActiveEventsTesterBase :: } Fw::InputTlmPort* ActiveEventsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -734,7 +734,7 @@ Fw::InputTlmPort* ActiveEventsTesterBase :: } Ports::InputNoArgsPort* ActiveEventsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -745,7 +745,7 @@ Ports::InputNoArgsPort* ActiveEventsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveEventsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -756,7 +756,7 @@ Ports::InputNoArgsReturnPort* ActiveEventsTesterBase :: } Ports::InputTypedPort* ActiveEventsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -767,7 +767,7 @@ Ports::InputTypedPort* ActiveEventsTesterBase :: } Ports::InputTypedReturnPort* ActiveEventsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -829,7 +829,7 @@ ActiveEventsTesterBase :: // ---------------------------------------------------------------------- void ActiveEventsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -840,7 +840,7 @@ void ActiveEventsTesterBase :: } U32 ActiveEventsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -852,7 +852,7 @@ U32 ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -881,7 +881,7 @@ void ActiveEventsTesterBase :: F32 ActiveEventsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -913,7 +913,7 @@ F32 ActiveEventsTesterBase :: // ---------------------------------------------------------------------- void ActiveEventsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -924,7 +924,7 @@ void ActiveEventsTesterBase :: } void ActiveEventsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -935,7 +935,7 @@ void ActiveEventsTesterBase :: } U32 ActiveEventsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -946,7 +946,7 @@ U32 ActiveEventsTesterBase :: } U32 ActiveEventsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -957,7 +957,7 @@ U32 ActiveEventsTesterBase :: } void ActiveEventsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -969,7 +969,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -997,7 +997,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1025,7 +1025,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1053,7 +1053,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1081,7 +1081,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1109,7 +1109,7 @@ void ActiveEventsTesterBase :: F32 ActiveEventsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1137,7 +1137,7 @@ F32 ActiveEventsTesterBase :: F32 ActiveEventsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1165,7 +1165,7 @@ F32 ActiveEventsTesterBase :: void ActiveEventsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1360,7 +1360,7 @@ NATIVE_INT_TYPE ActiveEventsTesterBase :: // ---------------------------------------------------------------------- bool ActiveEventsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1371,7 +1371,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1382,7 +1382,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1393,7 +1393,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1404,7 +1404,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1415,7 +1415,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1426,7 +1426,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1437,7 +1437,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1448,7 +1448,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1459,7 +1459,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1470,7 +1470,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1481,7 +1481,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1492,7 +1492,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1503,7 +1503,7 @@ bool ActiveEventsTesterBase :: } bool ActiveEventsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2095,7 +2095,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -2111,7 +2111,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -2127,7 +2127,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2138,7 +2138,7 @@ void ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2149,7 +2149,7 @@ void ActiveEventsTesterBase :: U32 ActiveEventsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2160,7 +2160,7 @@ U32 ActiveEventsTesterBase :: void ActiveEventsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2187,7 +2187,7 @@ void ActiveEventsTesterBase :: F32 ActiveEventsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp index 5d54f2005..c0348f3c1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp @@ -187,85 +187,85 @@ class ActiveEventsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -279,35 +279,35 @@ class ActiveEventsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -316,7 +316,7 @@ class ActiveEventsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -325,42 +325,42 @@ class ActiveEventsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -386,17 +386,17 @@ class ActiveEventsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -408,7 +408,7 @@ class ActiveEventsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -426,17 +426,17 @@ class ActiveEventsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -448,7 +448,7 @@ class ActiveEventsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -466,32 +466,32 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -503,7 +503,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -515,7 +515,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -527,7 +527,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -539,7 +539,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -551,7 +551,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -563,7 +563,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -575,7 +575,7 @@ class ActiveEventsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -735,98 +735,98 @@ class ActiveEventsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -965,7 +965,7 @@ class ActiveEventsTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -977,7 +977,7 @@ class ActiveEventsTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -989,26 +989,26 @@ class ActiveEventsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1021,7 +1021,7 @@ class ActiveEventsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp index 1fea0756b..71f89e5c6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveGetProductsTesterBase :: // Connect input port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productGetOut()); port++ ) { this->m_from_productGetOut[port].init(); @@ -45,8 +45,8 @@ void ActiveGetProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void ActiveGetProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveGetProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void ActiveGetProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void ActiveGetProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void ActiveGetProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveGetProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -208,8 +208,8 @@ void ActiveGetProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -227,8 +227,8 @@ void ActiveGetProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -246,8 +246,8 @@ void ActiveGetProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -265,8 +265,8 @@ void ActiveGetProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -284,8 +284,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -303,8 +303,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -322,8 +322,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -341,8 +341,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -360,8 +360,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -379,8 +379,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -398,8 +398,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -417,8 +417,8 @@ void ActiveGetProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -441,7 +441,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -455,7 +455,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -469,7 +469,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -483,7 +483,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -497,7 +497,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -511,7 +511,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -525,7 +525,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -539,7 +539,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -553,7 +553,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -567,7 +567,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -581,7 +581,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -595,7 +595,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -609,7 +609,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -623,7 +623,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -640,7 +640,7 @@ void ActiveGetProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveGetProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -651,7 +651,7 @@ Fw::InputCmdRegPort* ActiveGetProductsTesterBase :: } Fw::InputCmdResponsePort* ActiveGetProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -662,7 +662,7 @@ Fw::InputCmdResponsePort* ActiveGetProductsTesterBase :: } Fw::InputLogPort* ActiveGetProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -673,7 +673,7 @@ Fw::InputLogPort* ActiveGetProductsTesterBase :: } Fw::InputPrmGetPort* ActiveGetProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -684,7 +684,7 @@ Fw::InputPrmGetPort* ActiveGetProductsTesterBase :: } Fw::InputPrmSetPort* ActiveGetProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -695,7 +695,7 @@ Fw::InputPrmSetPort* ActiveGetProductsTesterBase :: } Fw::InputDpGetPort* ActiveGetProductsTesterBase :: - get_from_productGetOut(NATIVE_INT_TYPE portNum) + get_from_productGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productGetOut(), @@ -706,7 +706,7 @@ Fw::InputDpGetPort* ActiveGetProductsTesterBase :: } Fw::InputDpSendPort* ActiveGetProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -719,7 +719,7 @@ Fw::InputDpSendPort* ActiveGetProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveGetProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -732,7 +732,7 @@ Fw::InputLogTextPort* ActiveGetProductsTesterBase :: #endif Fw::InputTimePort* ActiveGetProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -743,7 +743,7 @@ Fw::InputTimePort* ActiveGetProductsTesterBase :: } Fw::InputTlmPort* ActiveGetProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -754,7 +754,7 @@ Fw::InputTlmPort* ActiveGetProductsTesterBase :: } Ports::InputNoArgsPort* ActiveGetProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -765,7 +765,7 @@ Ports::InputNoArgsPort* ActiveGetProductsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveGetProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -776,7 +776,7 @@ Ports::InputNoArgsReturnPort* ActiveGetProductsTesterBase :: } Ports::InputTypedPort* ActiveGetProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -787,7 +787,7 @@ Ports::InputTypedPort* ActiveGetProductsTesterBase :: } Ports::InputTypedReturnPort* ActiveGetProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -837,7 +837,7 @@ ActiveGetProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveGetProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -848,7 +848,7 @@ void ActiveGetProductsTesterBase :: } U32 ActiveGetProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -860,7 +860,7 @@ U32 ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -889,7 +889,7 @@ void ActiveGetProductsTesterBase :: F32 ActiveGetProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -921,7 +921,7 @@ F32 ActiveGetProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveGetProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -932,7 +932,7 @@ void ActiveGetProductsTesterBase :: } void ActiveGetProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -943,7 +943,7 @@ void ActiveGetProductsTesterBase :: } U32 ActiveGetProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -954,7 +954,7 @@ U32 ActiveGetProductsTesterBase :: } U32 ActiveGetProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ U32 ActiveGetProductsTesterBase :: } void ActiveGetProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -977,7 +977,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1005,7 +1005,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1033,7 +1033,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1061,7 +1061,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1089,7 +1089,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1117,7 +1117,7 @@ void ActiveGetProductsTesterBase :: F32 ActiveGetProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1145,7 +1145,7 @@ F32 ActiveGetProductsTesterBase :: F32 ActiveGetProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1173,7 +1173,7 @@ F32 ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1380,7 +1380,7 @@ NATIVE_INT_TYPE ActiveGetProductsTesterBase :: // ---------------------------------------------------------------------- bool ActiveGetProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1391,7 +1391,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1402,7 +1402,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1413,7 +1413,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1424,7 +1424,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1435,7 +1435,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1446,7 +1446,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1457,7 +1457,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1468,7 +1468,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1479,7 +1479,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1490,7 +1490,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1501,7 +1501,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1512,7 +1512,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1523,7 +1523,7 @@ bool ActiveGetProductsTesterBase :: } bool ActiveGetProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1679,7 +1679,7 @@ void ActiveGetProductsTesterBase :: Fw::Success ActiveGetProductsTesterBase :: from_productGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -1692,7 +1692,7 @@ Fw::Success ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1704,7 +1704,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1715,7 +1715,7 @@ void ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1726,7 +1726,7 @@ void ActiveGetProductsTesterBase :: U32 ActiveGetProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1737,7 +1737,7 @@ U32 ActiveGetProductsTesterBase :: void ActiveGetProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1764,7 +1764,7 @@ void ActiveGetProductsTesterBase :: F32 ActiveGetProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp index 97e6b70b2..460ec86ca 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp @@ -160,85 +160,85 @@ class ActiveGetProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -252,49 +252,49 @@ class ActiveGetProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productGetOut[portNum] Fw::InputDpGetPort* get_from_productGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -303,7 +303,7 @@ class ActiveGetProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -312,42 +312,42 @@ class ActiveGetProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -373,17 +373,17 @@ class ActiveGetProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -395,7 +395,7 @@ class ActiveGetProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -413,17 +413,17 @@ class ActiveGetProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -435,7 +435,7 @@ class ActiveGetProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -453,32 +453,32 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -490,7 +490,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -502,7 +502,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -514,7 +514,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -526,7 +526,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -538,7 +538,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -550,7 +550,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -562,7 +562,7 @@ class ActiveGetProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,98 +732,98 @@ class ActiveGetProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -924,7 +924,7 @@ class ActiveGetProductsTesterBase : //! Static function for port from_productGetOut static Fw::Success from_productGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -933,7 +933,7 @@ class ActiveGetProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -941,26 +941,26 @@ class ActiveGetProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -973,7 +973,7 @@ class ActiveGetProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp index 71bdef31d..ec0395c8a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void ActiveGuardedProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void ActiveGuardedProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void ActiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveGuardedProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* ActiveGuardedProductsTesterBase :: } Fw::InputCmdResponsePort* ActiveGuardedProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* ActiveGuardedProductsTesterBase :: } Fw::InputLogPort* ActiveGuardedProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* ActiveGuardedProductsTesterBase :: } Fw::InputPrmGetPort* ActiveGuardedProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* ActiveGuardedProductsTesterBase :: } Fw::InputPrmSetPort* ActiveGuardedProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* ActiveGuardedProductsTesterBase :: } Fw::InputDpRequestPort* ActiveGuardedProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* ActiveGuardedProductsTesterBase :: } Fw::InputDpSendPort* ActiveGuardedProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* ActiveGuardedProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveGuardedProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* ActiveGuardedProductsTesterBase :: #endif Fw::InputTimePort* ActiveGuardedProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* ActiveGuardedProductsTesterBase :: } Fw::InputTlmPort* ActiveGuardedProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* ActiveGuardedProductsTesterBase :: } Ports::InputNoArgsPort* ActiveGuardedProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* ActiveGuardedProductsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveGuardedProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* ActiveGuardedProductsTesterBase :: } Ports::InputTypedPort* ActiveGuardedProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* ActiveGuardedProductsTesterBase :: } Ports::InputTypedReturnPort* ActiveGuardedProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ ActiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveGuardedProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void ActiveGuardedProductsTesterBase :: } U32 ActiveGuardedProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void ActiveGuardedProductsTesterBase :: F32 ActiveGuardedProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 ActiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveGuardedProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void ActiveGuardedProductsTesterBase :: } void ActiveGuardedProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void ActiveGuardedProductsTesterBase :: } U32 ActiveGuardedProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 ActiveGuardedProductsTesterBase :: } U32 ActiveGuardedProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 ActiveGuardedProductsTesterBase :: } void ActiveGuardedProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void ActiveGuardedProductsTesterBase :: F32 ActiveGuardedProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 ActiveGuardedProductsTesterBase :: F32 ActiveGuardedProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- bool ActiveGuardedProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool ActiveGuardedProductsTesterBase :: } bool ActiveGuardedProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void ActiveGuardedProductsTesterBase :: U32 ActiveGuardedProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 ActiveGuardedProductsTesterBase :: void ActiveGuardedProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void ActiveGuardedProductsTesterBase :: F32 ActiveGuardedProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp index 8de2331aa..7dff0fd80 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class ActiveGuardedProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class ActiveGuardedProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class ActiveGuardedProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class ActiveGuardedProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class ActiveGuardedProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class ActiveGuardedProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class ActiveGuardedProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class ActiveGuardedProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class ActiveGuardedProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class ActiveGuardedProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class ActiveGuardedProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class ActiveGuardedProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class ActiveGuardedProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class ActiveGuardedProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp index b41a26fea..3e9854148 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -45,8 +45,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -69,8 +69,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -88,8 +88,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -107,8 +107,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -126,8 +126,8 @@ void ActiveNoArgsPortsOnlyTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -150,7 +150,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: void ActiveNoArgsPortsOnlyTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -164,7 +164,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: void ActiveNoArgsPortsOnlyTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -178,7 +178,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: void ActiveNoArgsPortsOnlyTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -192,7 +192,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: void ActiveNoArgsPortsOnlyTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -209,7 +209,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -220,7 +220,7 @@ Ports::InputNoArgsPort* ActiveNoArgsPortsOnlyTesterBase :: } Ports::InputNoArgsReturnPort* ActiveNoArgsPortsOnlyTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -258,7 +258,7 @@ ActiveNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -269,7 +269,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: } U32 ActiveNoArgsPortsOnlyTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -284,7 +284,7 @@ U32 ActiveNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -295,7 +295,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: } void ActiveNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -306,7 +306,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: } U32 ActiveNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -317,7 +317,7 @@ U32 ActiveNoArgsPortsOnlyTesterBase :: } U32 ActiveNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -372,7 +372,7 @@ NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- bool ActiveNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -383,7 +383,7 @@ bool ActiveNoArgsPortsOnlyTesterBase :: } bool ActiveNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -394,7 +394,7 @@ bool ActiveNoArgsPortsOnlyTesterBase :: } bool ActiveNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -405,7 +405,7 @@ bool ActiveNoArgsPortsOnlyTesterBase :: } bool ActiveNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -454,7 +454,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: void ActiveNoArgsPortsOnlyTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -465,7 +465,7 @@ void ActiveNoArgsPortsOnlyTesterBase :: U32 ActiveNoArgsPortsOnlyTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp index 6f16edba6..e02d02936 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp @@ -125,25 +125,25 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); @@ -157,14 +157,14 @@ class ActiveNoArgsPortsOnlyTesterBase : //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -190,12 +190,12 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; protected: @@ -206,12 +206,12 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -222,22 +222,22 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -286,28 +286,28 @@ class ActiveNoArgsPortsOnlyTesterBase : //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -337,13 +337,13 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp index 30b1c4e4a..d012bac6e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveParamsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void ActiveParamsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void ActiveParamsTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveParamsTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -117,8 +117,8 @@ void ActiveParamsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -141,8 +141,8 @@ void ActiveParamsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -165,8 +165,8 @@ void ActiveParamsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveParamsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -213,8 +213,8 @@ void ActiveParamsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -237,8 +237,8 @@ void ActiveParamsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -256,8 +256,8 @@ void ActiveParamsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -275,8 +275,8 @@ void ActiveParamsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -294,8 +294,8 @@ void ActiveParamsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -313,8 +313,8 @@ void ActiveParamsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -332,8 +332,8 @@ void ActiveParamsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -351,8 +351,8 @@ void ActiveParamsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -370,8 +370,8 @@ void ActiveParamsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -389,8 +389,8 @@ void ActiveParamsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -408,8 +408,8 @@ void ActiveParamsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -427,8 +427,8 @@ void ActiveParamsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -446,8 +446,8 @@ void ActiveParamsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -465,8 +465,8 @@ void ActiveParamsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -484,8 +484,8 @@ void ActiveParamsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -508,7 +508,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -522,7 +522,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -536,7 +536,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -550,7 +550,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -564,7 +564,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -578,7 +578,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -592,7 +592,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -606,7 +606,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -620,7 +620,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -634,7 +634,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -648,7 +648,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -662,7 +662,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -676,7 +676,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -690,7 +690,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -707,7 +707,7 @@ void ActiveParamsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveParamsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -718,7 +718,7 @@ Fw::InputCmdRegPort* ActiveParamsTesterBase :: } Fw::InputCmdResponsePort* ActiveParamsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -729,7 +729,7 @@ Fw::InputCmdResponsePort* ActiveParamsTesterBase :: } Fw::InputLogPort* ActiveParamsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -740,7 +740,7 @@ Fw::InputLogPort* ActiveParamsTesterBase :: } Fw::InputPrmGetPort* ActiveParamsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -751,7 +751,7 @@ Fw::InputPrmGetPort* ActiveParamsTesterBase :: } Fw::InputPrmSetPort* ActiveParamsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -764,7 +764,7 @@ Fw::InputPrmSetPort* ActiveParamsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveParamsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -777,7 +777,7 @@ Fw::InputLogTextPort* ActiveParamsTesterBase :: #endif Fw::InputTimePort* ActiveParamsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -788,7 +788,7 @@ Fw::InputTimePort* ActiveParamsTesterBase :: } Fw::InputTlmPort* ActiveParamsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -799,7 +799,7 @@ Fw::InputTlmPort* ActiveParamsTesterBase :: } Ports::InputNoArgsPort* ActiveParamsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -810,7 +810,7 @@ Ports::InputNoArgsPort* ActiveParamsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveParamsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -821,7 +821,7 @@ Ports::InputNoArgsReturnPort* ActiveParamsTesterBase :: } Ports::InputTypedPort* ActiveParamsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -832,7 +832,7 @@ Ports::InputTypedPort* ActiveParamsTesterBase :: } Ports::InputTypedReturnPort* ActiveParamsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -886,7 +886,7 @@ ActiveParamsTesterBase :: // ---------------------------------------------------------------------- void ActiveParamsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -897,7 +897,7 @@ void ActiveParamsTesterBase :: } U32 ActiveParamsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -909,7 +909,7 @@ U32 ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -938,7 +938,7 @@ void ActiveParamsTesterBase :: F32 ActiveParamsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -970,7 +970,7 @@ F32 ActiveParamsTesterBase :: // ---------------------------------------------------------------------- void ActiveParamsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -981,7 +981,7 @@ void ActiveParamsTesterBase :: } void ActiveParamsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -992,7 +992,7 @@ void ActiveParamsTesterBase :: } U32 ActiveParamsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1003,7 +1003,7 @@ U32 ActiveParamsTesterBase :: } U32 ActiveParamsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1014,7 +1014,7 @@ U32 ActiveParamsTesterBase :: } void ActiveParamsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1026,7 +1026,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1054,7 +1054,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1082,7 +1082,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1110,7 +1110,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1138,7 +1138,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1166,7 +1166,7 @@ void ActiveParamsTesterBase :: F32 ActiveParamsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1194,7 +1194,7 @@ F32 ActiveParamsTesterBase :: F32 ActiveParamsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1222,7 +1222,7 @@ F32 ActiveParamsTesterBase :: void ActiveParamsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1417,7 +1417,7 @@ NATIVE_INT_TYPE ActiveParamsTesterBase :: // ---------------------------------------------------------------------- bool ActiveParamsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1428,7 +1428,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1439,7 +1439,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1450,7 +1450,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1461,7 +1461,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1472,7 +1472,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1483,7 +1483,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1494,7 +1494,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1505,7 +1505,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1516,7 +1516,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1527,7 +1527,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1538,7 +1538,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1549,7 +1549,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1560,7 +1560,7 @@ bool ActiveParamsTesterBase :: } bool ActiveParamsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2064,7 +2064,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -2074,7 +2074,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -2087,7 +2087,7 @@ void ActiveParamsTesterBase :: Fw::ParamValid ActiveParamsTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -2174,7 +2174,7 @@ Fw::ParamValid ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -2280,7 +2280,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2291,7 +2291,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2302,7 +2302,7 @@ void ActiveParamsTesterBase :: U32 ActiveParamsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2313,7 +2313,7 @@ U32 ActiveParamsTesterBase :: void ActiveParamsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2340,7 +2340,7 @@ void ActiveParamsTesterBase :: F32 ActiveParamsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp index 651e24eb8..c835ae070 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp @@ -154,85 +154,85 @@ class ActiveParamsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -246,35 +246,35 @@ class ActiveParamsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -283,7 +283,7 @@ class ActiveParamsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -292,42 +292,42 @@ class ActiveParamsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -353,17 +353,17 @@ class ActiveParamsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -375,7 +375,7 @@ class ActiveParamsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -393,17 +393,17 @@ class ActiveParamsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -415,7 +415,7 @@ class ActiveParamsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -433,32 +433,32 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -470,7 +470,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -482,7 +482,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -494,7 +494,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -506,7 +506,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -518,7 +518,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -530,7 +530,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -542,7 +542,7 @@ class ActiveParamsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -702,98 +702,98 @@ class ActiveParamsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -990,14 +990,14 @@ class ActiveParamsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1006,7 +1006,7 @@ class ActiveParamsTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1014,7 +1014,7 @@ class ActiveParamsTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1022,26 +1022,26 @@ class ActiveParamsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1054,7 +1054,7 @@ class ActiveParamsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp index dcce59d2a..a2c538e49 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveSerialTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void ActiveSerialTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void ActiveSerialTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -93,8 +93,8 @@ void ActiveSerialTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -117,8 +117,8 @@ void ActiveSerialTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -142,8 +142,8 @@ void ActiveSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -167,8 +167,8 @@ void ActiveSerialTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -191,8 +191,8 @@ void ActiveSerialTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -215,8 +215,8 @@ void ActiveSerialTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -239,8 +239,8 @@ void ActiveSerialTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -263,8 +263,8 @@ void ActiveSerialTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -287,8 +287,8 @@ void ActiveSerialTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -311,8 +311,8 @@ void ActiveSerialTesterBase :: // Connect input port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_serialOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_serialOut()); port++ ) { this->m_from_serialOut[port].init(); @@ -335,8 +335,8 @@ void ActiveSerialTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -354,8 +354,8 @@ void ActiveSerialTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -373,8 +373,8 @@ void ActiveSerialTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -392,8 +392,8 @@ void ActiveSerialTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -411,8 +411,8 @@ void ActiveSerialTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -430,8 +430,8 @@ void ActiveSerialTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -449,8 +449,8 @@ void ActiveSerialTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -468,8 +468,8 @@ void ActiveSerialTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -487,8 +487,8 @@ void ActiveSerialTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -506,8 +506,8 @@ void ActiveSerialTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -525,8 +525,8 @@ void ActiveSerialTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -544,8 +544,8 @@ void ActiveSerialTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -563,8 +563,8 @@ void ActiveSerialTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -582,8 +582,8 @@ void ActiveSerialTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -601,8 +601,8 @@ void ActiveSerialTesterBase :: // Connect output port serialAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsync()); port++ ) { this->m_to_serialAsync[port].init(); @@ -620,8 +620,8 @@ void ActiveSerialTesterBase :: // Connect output port serialAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncAssert()); port++ ) { this->m_to_serialAsyncAssert[port].init(); @@ -639,8 +639,8 @@ void ActiveSerialTesterBase :: // Connect output port serialAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncBlockPriority()); port++ ) { this->m_to_serialAsyncBlockPriority[port].init(); @@ -658,8 +658,8 @@ void ActiveSerialTesterBase :: // Connect output port serialAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncDropPriority()); port++ ) { this->m_to_serialAsyncDropPriority[port].init(); @@ -677,8 +677,8 @@ void ActiveSerialTesterBase :: // Connect output port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialGuarded()); port++ ) { this->m_to_serialGuarded[port].init(); @@ -696,8 +696,8 @@ void ActiveSerialTesterBase :: // Connect output port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialSync()); port++ ) { this->m_to_serialSync[port].init(); @@ -720,7 +720,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -734,7 +734,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -748,7 +748,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -762,7 +762,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -776,7 +776,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -790,7 +790,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -804,7 +804,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -818,7 +818,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -832,7 +832,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -846,7 +846,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -860,7 +860,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -874,7 +874,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -888,7 +888,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -902,7 +902,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -916,7 +916,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -930,7 +930,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -944,7 +944,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -958,7 +958,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -972,7 +972,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -986,7 +986,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: connect_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1003,7 +1003,7 @@ void ActiveSerialTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveSerialTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -1014,7 +1014,7 @@ Fw::InputCmdRegPort* ActiveSerialTesterBase :: } Fw::InputCmdResponsePort* ActiveSerialTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -1025,7 +1025,7 @@ Fw::InputCmdResponsePort* ActiveSerialTesterBase :: } Fw::InputLogPort* ActiveSerialTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -1036,7 +1036,7 @@ Fw::InputLogPort* ActiveSerialTesterBase :: } Fw::InputPrmGetPort* ActiveSerialTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -1047,7 +1047,7 @@ Fw::InputPrmGetPort* ActiveSerialTesterBase :: } Fw::InputPrmSetPort* ActiveSerialTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -1060,7 +1060,7 @@ Fw::InputPrmSetPort* ActiveSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveSerialTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -1073,7 +1073,7 @@ Fw::InputLogTextPort* ActiveSerialTesterBase :: #endif Fw::InputTimePort* ActiveSerialTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -1084,7 +1084,7 @@ Fw::InputTimePort* ActiveSerialTesterBase :: } Fw::InputTlmPort* ActiveSerialTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -1095,7 +1095,7 @@ Fw::InputTlmPort* ActiveSerialTesterBase :: } Ports::InputNoArgsPort* ActiveSerialTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -1106,7 +1106,7 @@ Ports::InputNoArgsPort* ActiveSerialTesterBase :: } Ports::InputNoArgsReturnPort* ActiveSerialTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -1117,7 +1117,7 @@ Ports::InputNoArgsReturnPort* ActiveSerialTesterBase :: } Ports::InputTypedPort* ActiveSerialTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -1128,7 +1128,7 @@ Ports::InputTypedPort* ActiveSerialTesterBase :: } Ports::InputTypedReturnPort* ActiveSerialTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -1139,7 +1139,7 @@ Ports::InputTypedReturnPort* ActiveSerialTesterBase :: } Fw::InputSerializePort* ActiveSerialTesterBase :: - get_from_serialOut(NATIVE_INT_TYPE portNum) + get_from_serialOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_serialOut(), @@ -1239,7 +1239,7 @@ ActiveSerialTesterBase :: // ---------------------------------------------------------------------- void ActiveSerialTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1250,7 +1250,7 @@ void ActiveSerialTesterBase :: } U32 ActiveSerialTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1262,7 +1262,7 @@ U32 ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1291,7 +1291,7 @@ void ActiveSerialTesterBase :: F32 ActiveSerialTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1320,7 +1320,7 @@ F32 ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1340,7 +1340,7 @@ void ActiveSerialTesterBase :: // ---------------------------------------------------------------------- void ActiveSerialTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1351,7 +1351,7 @@ void ActiveSerialTesterBase :: } void ActiveSerialTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1362,7 +1362,7 @@ void ActiveSerialTesterBase :: } U32 ActiveSerialTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1373,7 +1373,7 @@ U32 ActiveSerialTesterBase :: } U32 ActiveSerialTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1384,7 +1384,7 @@ U32 ActiveSerialTesterBase :: } void ActiveSerialTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1396,7 +1396,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1424,7 +1424,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1452,7 +1452,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1480,7 +1480,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1508,7 +1508,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1536,7 +1536,7 @@ void ActiveSerialTesterBase :: F32 ActiveSerialTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1564,7 +1564,7 @@ F32 ActiveSerialTesterBase :: F32 ActiveSerialTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1592,7 +1592,7 @@ F32 ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1620,7 +1620,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1636,7 +1636,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1652,7 +1652,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1668,7 +1668,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1684,7 +1684,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1700,7 +1700,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: invoke_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1925,7 +1925,7 @@ NATIVE_INT_TYPE ActiveSerialTesterBase :: // ---------------------------------------------------------------------- bool ActiveSerialTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1936,7 +1936,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1947,7 +1947,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1958,7 +1958,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1969,7 +1969,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1980,7 +1980,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1991,7 +1991,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -2002,7 +2002,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -2013,7 +2013,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -2024,7 +2024,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -2035,7 +2035,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -2046,7 +2046,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -2057,7 +2057,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -2068,7 +2068,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2079,7 +2079,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialAsync(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsync(), @@ -2090,7 +2090,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncAssert(), @@ -2101,7 +2101,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncBlockPriority(), @@ -2112,7 +2112,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncDropPriority(), @@ -2123,7 +2123,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_serialGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialGuarded(), @@ -2134,7 +2134,7 @@ bool ActiveSerialTesterBase :: } bool ActiveSerialTesterBase :: - isConnected_to_serialSync(NATIVE_INT_TYPE portNum) + isConnected_to_serialSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialSync(), @@ -4002,7 +4002,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -4012,7 +4012,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -4025,7 +4025,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4039,7 +4039,7 @@ void ActiveSerialTesterBase :: Fw::ParamValid ActiveSerialTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -4126,7 +4126,7 @@ Fw::ParamValid ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -4234,7 +4234,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4250,7 +4250,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -4261,7 +4261,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -4274,7 +4274,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4285,7 +4285,7 @@ void ActiveSerialTesterBase :: U32 ActiveSerialTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4296,7 +4296,7 @@ U32 ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4323,7 +4323,7 @@ void ActiveSerialTesterBase :: F32 ActiveSerialTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4350,7 +4350,7 @@ F32 ActiveSerialTesterBase :: void ActiveSerialTesterBase :: from_serialOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp index c9a85ef6d..087f3eeaf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp @@ -260,121 +260,121 @@ class ActiveSerialTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to serialAsync[portNum] void connect_to_serialAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncAssert[portNum] void connect_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncBlockPriority[portNum] void connect_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncDropPriority[portNum] void connect_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialGuarded[portNum] void connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialSync[portNum] void connect_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); @@ -388,35 +388,35 @@ class ActiveSerialTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -425,7 +425,7 @@ class ActiveSerialTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -434,49 +434,49 @@ class ActiveSerialTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_serialOut[portNum] Fw::InputSerializePort* get_from_serialOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -502,17 +502,17 @@ class ActiveSerialTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -524,7 +524,7 @@ class ActiveSerialTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -536,7 +536,7 @@ class ActiveSerialTesterBase : //! Handler for input port from_serialOut virtual void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -548,17 +548,17 @@ class ActiveSerialTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -570,7 +570,7 @@ class ActiveSerialTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -582,7 +582,7 @@ class ActiveSerialTesterBase : //! Handler base-class function for from_serialOut void from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -594,32 +594,32 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -631,7 +631,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -643,7 +643,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -655,7 +655,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -667,7 +667,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -679,7 +679,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -691,7 +691,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -703,7 +703,7 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -715,37 +715,37 @@ class ActiveSerialTesterBase : //! Invoke the to port connected to serialAsync void invoke_to_serialAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncAssert void invoke_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncBlockPriority void invoke_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncDropPriority void invoke_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialGuarded void invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialSync void invoke_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -934,140 +934,140 @@ class ActiveSerialTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsync is connected //! //! \return Whether port to_serialAsync is connected bool isConnected_to_serialAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncAssert is connected //! //! \return Whether port to_serialAsyncAssert is connected bool isConnected_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncBlockPriority is connected //! //! \return Whether port to_serialAsyncBlockPriority is connected bool isConnected_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncDropPriority is connected //! //! \return Whether port to_serialAsyncDropPriority is connected bool isConnected_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialGuarded is connected //! //! \return Whether port to_serialGuarded is connected bool isConnected_to_serialGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialSync is connected //! //! \return Whether port to_serialSync is connected bool isConnected_to_serialSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1542,14 +1542,14 @@ class ActiveSerialTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1558,7 +1558,7 @@ class ActiveSerialTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1568,7 +1568,7 @@ class ActiveSerialTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1576,7 +1576,7 @@ class ActiveSerialTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1586,7 +1586,7 @@ class ActiveSerialTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1598,14 +1598,14 @@ class ActiveSerialTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1614,19 +1614,19 @@ class ActiveSerialTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1639,7 +1639,7 @@ class ActiveSerialTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1652,7 +1652,7 @@ class ActiveSerialTesterBase : //! Static function for port from_serialOut static void from_serialOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp index f3f5a0df6..c04dbc944 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void ActiveSyncProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void ActiveSyncProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void ActiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveSyncProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* ActiveSyncProductsTesterBase :: } Fw::InputCmdResponsePort* ActiveSyncProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* ActiveSyncProductsTesterBase :: } Fw::InputLogPort* ActiveSyncProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* ActiveSyncProductsTesterBase :: } Fw::InputPrmGetPort* ActiveSyncProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* ActiveSyncProductsTesterBase :: } Fw::InputPrmSetPort* ActiveSyncProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* ActiveSyncProductsTesterBase :: } Fw::InputDpRequestPort* ActiveSyncProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* ActiveSyncProductsTesterBase :: } Fw::InputDpSendPort* ActiveSyncProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* ActiveSyncProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveSyncProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* ActiveSyncProductsTesterBase :: #endif Fw::InputTimePort* ActiveSyncProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* ActiveSyncProductsTesterBase :: } Fw::InputTlmPort* ActiveSyncProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* ActiveSyncProductsTesterBase :: } Ports::InputNoArgsPort* ActiveSyncProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* ActiveSyncProductsTesterBase :: } Ports::InputNoArgsReturnPort* ActiveSyncProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* ActiveSyncProductsTesterBase :: } Ports::InputTypedPort* ActiveSyncProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* ActiveSyncProductsTesterBase :: } Ports::InputTypedReturnPort* ActiveSyncProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ ActiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveSyncProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void ActiveSyncProductsTesterBase :: } U32 ActiveSyncProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void ActiveSyncProductsTesterBase :: F32 ActiveSyncProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 ActiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- void ActiveSyncProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void ActiveSyncProductsTesterBase :: } void ActiveSyncProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void ActiveSyncProductsTesterBase :: } U32 ActiveSyncProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 ActiveSyncProductsTesterBase :: } U32 ActiveSyncProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 ActiveSyncProductsTesterBase :: } void ActiveSyncProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void ActiveSyncProductsTesterBase :: F32 ActiveSyncProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 ActiveSyncProductsTesterBase :: F32 ActiveSyncProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- bool ActiveSyncProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool ActiveSyncProductsTesterBase :: } bool ActiveSyncProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void ActiveSyncProductsTesterBase :: U32 ActiveSyncProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 ActiveSyncProductsTesterBase :: void ActiveSyncProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void ActiveSyncProductsTesterBase :: F32 ActiveSyncProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp index 96be68ba1..cd2116e62 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class ActiveSyncProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class ActiveSyncProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class ActiveSyncProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class ActiveSyncProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class ActiveSyncProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class ActiveSyncProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class ActiveSyncProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class ActiveSyncProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class ActiveSyncProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class ActiveSyncProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class ActiveSyncProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class ActiveSyncProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class ActiveSyncProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class ActiveSyncProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp index fcb7d177d..e28d19ec2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp @@ -21,8 +21,8 @@ void ActiveTelemetryTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -45,8 +45,8 @@ void ActiveTelemetryTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -69,8 +69,8 @@ void ActiveTelemetryTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -93,8 +93,8 @@ void ActiveTelemetryTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -117,8 +117,8 @@ void ActiveTelemetryTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -141,8 +141,8 @@ void ActiveTelemetryTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -165,8 +165,8 @@ void ActiveTelemetryTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -184,8 +184,8 @@ void ActiveTelemetryTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -203,8 +203,8 @@ void ActiveTelemetryTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -222,8 +222,8 @@ void ActiveTelemetryTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -241,8 +241,8 @@ void ActiveTelemetryTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -260,8 +260,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -279,8 +279,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -298,8 +298,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -317,8 +317,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -336,8 +336,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -355,8 +355,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -374,8 +374,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -393,8 +393,8 @@ void ActiveTelemetryTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -417,7 +417,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -431,7 +431,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -445,7 +445,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -459,7 +459,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -473,7 +473,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -487,7 +487,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -501,7 +501,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -515,7 +515,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -529,7 +529,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -543,7 +543,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -557,7 +557,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -571,7 +571,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -585,7 +585,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -599,7 +599,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -616,7 +616,7 @@ void ActiveTelemetryTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveTelemetryTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -627,7 +627,7 @@ Fw::InputCmdRegPort* ActiveTelemetryTesterBase :: } Fw::InputCmdResponsePort* ActiveTelemetryTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -638,7 +638,7 @@ Fw::InputCmdResponsePort* ActiveTelemetryTesterBase :: } Fw::InputLogPort* ActiveTelemetryTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -649,7 +649,7 @@ Fw::InputLogPort* ActiveTelemetryTesterBase :: } Fw::InputPrmGetPort* ActiveTelemetryTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -660,7 +660,7 @@ Fw::InputPrmGetPort* ActiveTelemetryTesterBase :: } Fw::InputPrmSetPort* ActiveTelemetryTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -673,7 +673,7 @@ Fw::InputPrmSetPort* ActiveTelemetryTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveTelemetryTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -686,7 +686,7 @@ Fw::InputLogTextPort* ActiveTelemetryTesterBase :: #endif Fw::InputTimePort* ActiveTelemetryTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -697,7 +697,7 @@ Fw::InputTimePort* ActiveTelemetryTesterBase :: } Fw::InputTlmPort* ActiveTelemetryTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -708,7 +708,7 @@ Fw::InputTlmPort* ActiveTelemetryTesterBase :: } Ports::InputNoArgsPort* ActiveTelemetryTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -719,7 +719,7 @@ Ports::InputNoArgsPort* ActiveTelemetryTesterBase :: } Ports::InputNoArgsReturnPort* ActiveTelemetryTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -730,7 +730,7 @@ Ports::InputNoArgsReturnPort* ActiveTelemetryTesterBase :: } Ports::InputTypedPort* ActiveTelemetryTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -741,7 +741,7 @@ Ports::InputTypedPort* ActiveTelemetryTesterBase :: } Ports::InputTypedReturnPort* ActiveTelemetryTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -809,7 +809,7 @@ ActiveTelemetryTesterBase :: // ---------------------------------------------------------------------- void ActiveTelemetryTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -820,7 +820,7 @@ void ActiveTelemetryTesterBase :: } U32 ActiveTelemetryTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -832,7 +832,7 @@ U32 ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -861,7 +861,7 @@ void ActiveTelemetryTesterBase :: F32 ActiveTelemetryTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -893,7 +893,7 @@ F32 ActiveTelemetryTesterBase :: // ---------------------------------------------------------------------- void ActiveTelemetryTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -904,7 +904,7 @@ void ActiveTelemetryTesterBase :: } void ActiveTelemetryTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -915,7 +915,7 @@ void ActiveTelemetryTesterBase :: } U32 ActiveTelemetryTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -926,7 +926,7 @@ U32 ActiveTelemetryTesterBase :: } U32 ActiveTelemetryTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -937,7 +937,7 @@ U32 ActiveTelemetryTesterBase :: } void ActiveTelemetryTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -949,7 +949,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -977,7 +977,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1005,7 +1005,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1033,7 +1033,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1061,7 +1061,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1089,7 +1089,7 @@ void ActiveTelemetryTesterBase :: F32 ActiveTelemetryTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1117,7 +1117,7 @@ F32 ActiveTelemetryTesterBase :: F32 ActiveTelemetryTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1145,7 +1145,7 @@ F32 ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1340,7 +1340,7 @@ NATIVE_INT_TYPE ActiveTelemetryTesterBase :: // ---------------------------------------------------------------------- bool ActiveTelemetryTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1351,7 +1351,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1362,7 +1362,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1373,7 +1373,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1384,7 +1384,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1395,7 +1395,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1406,7 +1406,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1417,7 +1417,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1428,7 +1428,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1439,7 +1439,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1450,7 +1450,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1461,7 +1461,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1472,7 +1472,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1483,7 +1483,7 @@ bool ActiveTelemetryTesterBase :: } bool ActiveTelemetryTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1898,7 +1898,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1909,7 +1909,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -1922,7 +1922,7 @@ void ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1933,7 +1933,7 @@ void ActiveTelemetryTesterBase :: U32 ActiveTelemetryTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1944,7 +1944,7 @@ U32 ActiveTelemetryTesterBase :: void ActiveTelemetryTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1971,7 +1971,7 @@ void ActiveTelemetryTesterBase :: F32 ActiveTelemetryTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp index 5e5fc2a4f..e7a479a38 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp @@ -213,85 +213,85 @@ class ActiveTelemetryTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -305,35 +305,35 @@ class ActiveTelemetryTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -342,7 +342,7 @@ class ActiveTelemetryTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -351,42 +351,42 @@ class ActiveTelemetryTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -412,17 +412,17 @@ class ActiveTelemetryTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -434,7 +434,7 @@ class ActiveTelemetryTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -452,17 +452,17 @@ class ActiveTelemetryTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -474,7 +474,7 @@ class ActiveTelemetryTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -492,32 +492,32 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -529,7 +529,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -541,7 +541,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -553,7 +553,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -565,7 +565,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -577,7 +577,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -589,7 +589,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -601,7 +601,7 @@ class ActiveTelemetryTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -761,98 +761,98 @@ class ActiveTelemetryTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -997,14 +997,14 @@ class ActiveTelemetryTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1013,19 +1013,19 @@ class ActiveTelemetryTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1038,7 +1038,7 @@ class ActiveTelemetryTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp index 2132e262c..424a55f28 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp @@ -23,8 +23,8 @@ namespace M { // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -47,8 +47,8 @@ namespace M { // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -71,8 +71,8 @@ namespace M { // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -95,8 +95,8 @@ namespace M { // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -119,8 +119,8 @@ namespace M { // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -143,8 +143,8 @@ namespace M { // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -167,8 +167,8 @@ namespace M { // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -192,8 +192,8 @@ namespace M { #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -217,8 +217,8 @@ namespace M { // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -241,8 +241,8 @@ namespace M { // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -265,8 +265,8 @@ namespace M { // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -289,8 +289,8 @@ namespace M { // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -313,8 +313,8 @@ namespace M { // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -337,8 +337,8 @@ namespace M { // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -361,8 +361,8 @@ namespace M { // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -380,8 +380,8 @@ namespace M { // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -399,8 +399,8 @@ namespace M { // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -418,8 +418,8 @@ namespace M { // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -437,8 +437,8 @@ namespace M { // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -456,8 +456,8 @@ namespace M { // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -475,8 +475,8 @@ namespace M { // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -494,8 +494,8 @@ namespace M { // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -513,8 +513,8 @@ namespace M { // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -532,8 +532,8 @@ namespace M { // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -551,8 +551,8 @@ namespace M { // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -570,8 +570,8 @@ namespace M { // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -589,8 +589,8 @@ namespace M { // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -608,8 +608,8 @@ namespace M { // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -627,8 +627,8 @@ namespace M { // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -651,7 +651,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -665,7 +665,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -679,7 +679,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -693,7 +693,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -707,7 +707,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -721,7 +721,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -735,7 +735,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -749,7 +749,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -763,7 +763,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -777,7 +777,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -791,7 +791,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -805,7 +805,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -819,7 +819,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -833,7 +833,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -847,7 +847,7 @@ namespace M { void ActiveTestTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -864,7 +864,7 @@ namespace M { // ---------------------------------------------------------------------- Fw::InputCmdRegPort* ActiveTestTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -875,7 +875,7 @@ namespace M { } Fw::InputCmdResponsePort* ActiveTestTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -886,7 +886,7 @@ namespace M { } Fw::InputLogPort* ActiveTestTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -897,7 +897,7 @@ namespace M { } Fw::InputPrmGetPort* ActiveTestTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -908,7 +908,7 @@ namespace M { } Fw::InputPrmSetPort* ActiveTestTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -919,7 +919,7 @@ namespace M { } Fw::InputDpRequestPort* ActiveTestTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -930,7 +930,7 @@ namespace M { } Fw::InputDpSendPort* ActiveTestTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -943,7 +943,7 @@ namespace M { #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* ActiveTestTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -956,7 +956,7 @@ namespace M { #endif Fw::InputTimePort* ActiveTestTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -967,7 +967,7 @@ namespace M { } Fw::InputTlmPort* ActiveTestTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -978,7 +978,7 @@ namespace M { } Ports::InputNoArgsPort* ActiveTestTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -989,7 +989,7 @@ namespace M { } Ports::InputNoArgsReturnPort* ActiveTestTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -1000,7 +1000,7 @@ namespace M { } Ports::InputTypedPort* ActiveTestTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -1011,7 +1011,7 @@ namespace M { } Ports::InputTypedReturnPort* ActiveTestTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -1119,7 +1119,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1130,7 +1130,7 @@ namespace M { } U32 ActiveTestTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1142,7 +1142,7 @@ namespace M { void ActiveTestTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1171,7 +1171,7 @@ namespace M { F32 ActiveTestTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1203,7 +1203,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1214,7 +1214,7 @@ namespace M { } void ActiveTestTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1225,7 +1225,7 @@ namespace M { } U32 ActiveTestTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1236,7 +1236,7 @@ namespace M { } U32 ActiveTestTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1247,7 +1247,7 @@ namespace M { } void ActiveTestTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1259,7 +1259,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1287,7 +1287,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1315,7 +1315,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1343,7 +1343,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1371,7 +1371,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1399,7 +1399,7 @@ namespace M { F32 ActiveTestTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1427,7 +1427,7 @@ namespace M { F32 ActiveTestTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1455,7 +1455,7 @@ namespace M { void ActiveTestTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1668,7 +1668,7 @@ namespace M { // ---------------------------------------------------------------------- bool ActiveTestTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1679,7 +1679,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1690,7 +1690,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1701,7 +1701,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1712,7 +1712,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1723,7 +1723,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1734,7 +1734,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1745,7 +1745,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1756,7 +1756,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1767,7 +1767,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1778,7 +1778,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1789,7 +1789,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1800,7 +1800,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1811,7 +1811,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1822,7 +1822,7 @@ namespace M { } bool ActiveTestTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -3746,7 +3746,7 @@ namespace M { void ActiveTestTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -3756,7 +3756,7 @@ namespace M { void ActiveTestTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -3769,7 +3769,7 @@ namespace M { void ActiveTestTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3783,7 +3783,7 @@ namespace M { Fw::ParamValid ActiveTestTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3870,7 +3870,7 @@ namespace M { void ActiveTestTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3976,7 +3976,7 @@ namespace M { void ActiveTestTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -3988,7 +3988,7 @@ namespace M { void ActiveTestTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -4002,7 +4002,7 @@ namespace M { void ActiveTestTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4018,7 +4018,7 @@ namespace M { void ActiveTestTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -4029,7 +4029,7 @@ namespace M { void ActiveTestTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -4042,7 +4042,7 @@ namespace M { void ActiveTestTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4053,7 +4053,7 @@ namespace M { U32 ActiveTestTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4064,7 +4064,7 @@ namespace M { void ActiveTestTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4091,7 +4091,7 @@ namespace M { F32 ActiveTestTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp index 5a0dbdca9..6c131ff4c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp @@ -275,91 +275,91 @@ namespace M { //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -373,49 +373,49 @@ namespace M { //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -424,7 +424,7 @@ namespace M { //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -433,42 +433,42 @@ namespace M { //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -494,17 +494,17 @@ namespace M { //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -516,7 +516,7 @@ namespace M { //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -534,17 +534,17 @@ namespace M { //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ namespace M { //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -574,32 +574,32 @@ namespace M { //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -611,7 +611,7 @@ namespace M { //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -623,7 +623,7 @@ namespace M { //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -635,7 +635,7 @@ namespace M { //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -647,7 +647,7 @@ namespace M { //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -659,7 +659,7 @@ namespace M { //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -671,7 +671,7 @@ namespace M { //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -683,7 +683,7 @@ namespace M { //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -858,105 +858,105 @@ namespace M { //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1474,14 +1474,14 @@ namespace M { //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1490,7 +1490,7 @@ namespace M { //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1500,7 +1500,7 @@ namespace M { //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1508,7 +1508,7 @@ namespace M { //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1516,7 +1516,7 @@ namespace M { //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -1524,7 +1524,7 @@ namespace M { //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1534,7 +1534,7 @@ namespace M { //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1546,14 +1546,14 @@ namespace M { //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1562,19 +1562,19 @@ namespace M { //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1587,7 +1587,7 @@ namespace M { //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp index caad054e4..ba3dfaeb5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveCommandsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void PassiveCommandsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void PassiveCommandsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void PassiveCommandsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void PassiveCommandsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void PassiveCommandsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void PassiveCommandsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void PassiveCommandsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -208,8 +208,8 @@ void PassiveCommandsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -227,8 +227,8 @@ void PassiveCommandsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -246,8 +246,8 @@ void PassiveCommandsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -265,8 +265,8 @@ void PassiveCommandsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -284,8 +284,8 @@ void PassiveCommandsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -303,8 +303,8 @@ void PassiveCommandsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -322,8 +322,8 @@ void PassiveCommandsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -341,8 +341,8 @@ void PassiveCommandsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -365,7 +365,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -379,7 +379,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -393,7 +393,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -407,7 +407,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -421,7 +421,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -435,7 +435,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -449,7 +449,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -463,7 +463,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -477,7 +477,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -494,7 +494,7 @@ void PassiveCommandsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveCommandsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -505,7 +505,7 @@ Fw::InputCmdRegPort* PassiveCommandsTesterBase :: } Fw::InputCmdResponsePort* PassiveCommandsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -516,7 +516,7 @@ Fw::InputCmdResponsePort* PassiveCommandsTesterBase :: } Fw::InputLogPort* PassiveCommandsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -527,7 +527,7 @@ Fw::InputLogPort* PassiveCommandsTesterBase :: } Fw::InputPrmGetPort* PassiveCommandsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -538,7 +538,7 @@ Fw::InputPrmGetPort* PassiveCommandsTesterBase :: } Fw::InputPrmSetPort* PassiveCommandsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -551,7 +551,7 @@ Fw::InputPrmSetPort* PassiveCommandsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveCommandsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -564,7 +564,7 @@ Fw::InputLogTextPort* PassiveCommandsTesterBase :: #endif Fw::InputTimePort* PassiveCommandsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -575,7 +575,7 @@ Fw::InputTimePort* PassiveCommandsTesterBase :: } Fw::InputTlmPort* PassiveCommandsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -586,7 +586,7 @@ Fw::InputTlmPort* PassiveCommandsTesterBase :: } Ports::InputNoArgsPort* PassiveCommandsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -597,7 +597,7 @@ Ports::InputNoArgsPort* PassiveCommandsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveCommandsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -608,7 +608,7 @@ Ports::InputNoArgsReturnPort* PassiveCommandsTesterBase :: } Ports::InputTypedPort* PassiveCommandsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -619,7 +619,7 @@ Ports::InputTypedPort* PassiveCommandsTesterBase :: } Ports::InputTypedReturnPort* PassiveCommandsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -667,7 +667,7 @@ PassiveCommandsTesterBase :: // ---------------------------------------------------------------------- void PassiveCommandsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -678,7 +678,7 @@ void PassiveCommandsTesterBase :: } U32 PassiveCommandsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -690,7 +690,7 @@ U32 PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -719,7 +719,7 @@ void PassiveCommandsTesterBase :: F32 PassiveCommandsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -751,7 +751,7 @@ F32 PassiveCommandsTesterBase :: // ---------------------------------------------------------------------- void PassiveCommandsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -762,7 +762,7 @@ void PassiveCommandsTesterBase :: } U32 PassiveCommandsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -773,7 +773,7 @@ U32 PassiveCommandsTesterBase :: } U32 PassiveCommandsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -784,7 +784,7 @@ U32 PassiveCommandsTesterBase :: } void PassiveCommandsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -796,7 +796,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -824,7 +824,7 @@ void PassiveCommandsTesterBase :: F32 PassiveCommandsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -852,7 +852,7 @@ F32 PassiveCommandsTesterBase :: F32 PassiveCommandsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -880,7 +880,7 @@ F32 PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1045,7 +1045,7 @@ NATIVE_INT_TYPE PassiveCommandsTesterBase :: // ---------------------------------------------------------------------- bool PassiveCommandsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1056,7 +1056,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1067,7 +1067,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1078,7 +1078,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1089,7 +1089,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1100,7 +1100,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1111,7 +1111,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1122,7 +1122,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1133,7 +1133,7 @@ bool PassiveCommandsTesterBase :: } bool PassiveCommandsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1711,7 +1711,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -1721,7 +1721,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -1734,7 +1734,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1745,7 +1745,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1756,7 +1756,7 @@ void PassiveCommandsTesterBase :: U32 PassiveCommandsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1767,7 +1767,7 @@ U32 PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1794,7 +1794,7 @@ void PassiveCommandsTesterBase :: F32 PassiveCommandsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp index d7572e1cd..05df2938e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp @@ -154,55 +154,55 @@ class PassiveCommandsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -216,35 +216,35 @@ class PassiveCommandsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -253,7 +253,7 @@ class PassiveCommandsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -262,42 +262,42 @@ class PassiveCommandsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -323,17 +323,17 @@ class PassiveCommandsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -345,7 +345,7 @@ class PassiveCommandsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -363,17 +363,17 @@ class PassiveCommandsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -385,7 +385,7 @@ class PassiveCommandsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -403,27 +403,27 @@ class PassiveCommandsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -435,7 +435,7 @@ class PassiveCommandsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -447,7 +447,7 @@ class PassiveCommandsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,7 +459,7 @@ class PassiveCommandsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -594,63 +594,63 @@ class PassiveCommandsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -821,14 +821,14 @@ class PassiveCommandsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -837,26 +837,26 @@ class PassiveCommandsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -869,7 +869,7 @@ class PassiveCommandsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp index c5d4ccc1c..d5445528b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveEventsTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -46,8 +46,8 @@ void PassiveEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -71,8 +71,8 @@ void PassiveEventsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -95,8 +95,8 @@ void PassiveEventsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -119,8 +119,8 @@ void PassiveEventsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -143,8 +143,8 @@ void PassiveEventsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -167,8 +167,8 @@ void PassiveEventsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -191,8 +191,8 @@ void PassiveEventsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -210,8 +210,8 @@ void PassiveEventsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -229,8 +229,8 @@ void PassiveEventsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -248,8 +248,8 @@ void PassiveEventsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -267,8 +267,8 @@ void PassiveEventsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -286,8 +286,8 @@ void PassiveEventsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -305,8 +305,8 @@ void PassiveEventsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -324,8 +324,8 @@ void PassiveEventsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -348,7 +348,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -362,7 +362,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -376,7 +376,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -390,7 +390,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -404,7 +404,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -418,7 +418,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -432,7 +432,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -446,7 +446,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -460,7 +460,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -477,7 +477,7 @@ void PassiveEventsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveEventsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -488,7 +488,7 @@ Fw::InputCmdRegPort* PassiveEventsTesterBase :: } Fw::InputCmdResponsePort* PassiveEventsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -499,7 +499,7 @@ Fw::InputCmdResponsePort* PassiveEventsTesterBase :: } Fw::InputLogPort* PassiveEventsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -510,7 +510,7 @@ Fw::InputLogPort* PassiveEventsTesterBase :: } Fw::InputPrmGetPort* PassiveEventsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -521,7 +521,7 @@ Fw::InputPrmGetPort* PassiveEventsTesterBase :: } Fw::InputPrmSetPort* PassiveEventsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -534,7 +534,7 @@ Fw::InputPrmSetPort* PassiveEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveEventsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -547,7 +547,7 @@ Fw::InputLogTextPort* PassiveEventsTesterBase :: #endif Fw::InputTimePort* PassiveEventsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -558,7 +558,7 @@ Fw::InputTimePort* PassiveEventsTesterBase :: } Fw::InputTlmPort* PassiveEventsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -569,7 +569,7 @@ Fw::InputTlmPort* PassiveEventsTesterBase :: } Ports::InputNoArgsPort* PassiveEventsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -580,7 +580,7 @@ Ports::InputNoArgsPort* PassiveEventsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveEventsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -591,7 +591,7 @@ Ports::InputNoArgsReturnPort* PassiveEventsTesterBase :: } Ports::InputTypedPort* PassiveEventsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -602,7 +602,7 @@ Ports::InputTypedPort* PassiveEventsTesterBase :: } Ports::InputTypedReturnPort* PassiveEventsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -664,7 +664,7 @@ PassiveEventsTesterBase :: // ---------------------------------------------------------------------- void PassiveEventsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -675,7 +675,7 @@ void PassiveEventsTesterBase :: } U32 PassiveEventsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -687,7 +687,7 @@ U32 PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -716,7 +716,7 @@ void PassiveEventsTesterBase :: F32 PassiveEventsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -748,7 +748,7 @@ F32 PassiveEventsTesterBase :: // ---------------------------------------------------------------------- void PassiveEventsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -759,7 +759,7 @@ void PassiveEventsTesterBase :: } U32 PassiveEventsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -770,7 +770,7 @@ U32 PassiveEventsTesterBase :: } U32 PassiveEventsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -781,7 +781,7 @@ U32 PassiveEventsTesterBase :: } void PassiveEventsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -793,7 +793,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -821,7 +821,7 @@ void PassiveEventsTesterBase :: F32 PassiveEventsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -849,7 +849,7 @@ F32 PassiveEventsTesterBase :: F32 PassiveEventsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -877,7 +877,7 @@ F32 PassiveEventsTesterBase :: void PassiveEventsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1042,7 +1042,7 @@ NATIVE_INT_TYPE PassiveEventsTesterBase :: // ---------------------------------------------------------------------- bool PassiveEventsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1053,7 +1053,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1064,7 +1064,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1075,7 +1075,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1086,7 +1086,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1097,7 +1097,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1108,7 +1108,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1119,7 +1119,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1130,7 +1130,7 @@ bool PassiveEventsTesterBase :: } bool PassiveEventsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1722,7 +1722,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -1738,7 +1738,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -1754,7 +1754,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1765,7 +1765,7 @@ void PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1776,7 +1776,7 @@ void PassiveEventsTesterBase :: U32 PassiveEventsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1787,7 +1787,7 @@ U32 PassiveEventsTesterBase :: void PassiveEventsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1814,7 +1814,7 @@ void PassiveEventsTesterBase :: F32 PassiveEventsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp index 9e7d9a2c5..4ba8016e4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp @@ -187,55 +187,55 @@ class PassiveEventsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -249,35 +249,35 @@ class PassiveEventsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -286,7 +286,7 @@ class PassiveEventsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -295,42 +295,42 @@ class PassiveEventsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -356,17 +356,17 @@ class PassiveEventsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -378,7 +378,7 @@ class PassiveEventsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -396,17 +396,17 @@ class PassiveEventsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -418,7 +418,7 @@ class PassiveEventsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -436,27 +436,27 @@ class PassiveEventsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -468,7 +468,7 @@ class PassiveEventsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -480,7 +480,7 @@ class PassiveEventsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -492,7 +492,7 @@ class PassiveEventsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -627,63 +627,63 @@ class PassiveEventsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -822,7 +822,7 @@ class PassiveEventsTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -834,7 +834,7 @@ class PassiveEventsTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -846,26 +846,26 @@ class PassiveEventsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -878,7 +878,7 @@ class PassiveEventsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp index e3d9734d7..8f5beead6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp @@ -25,7 +25,7 @@ void PassiveGetProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Fw::InputDpGetPort* PassiveGetProductPortsOnlyTesterBase :: - get_from_productGetOut(NATIVE_INT_TYPE portNum) + get_from_productGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productGetOut(), @@ -36,7 +36,7 @@ Fw::InputDpGetPort* PassiveGetProductPortsOnlyTesterBase :: } Fw::InputDpSendPort* PassiveGetProductPortsOnlyTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp index 99af56596..6a2388b8e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp @@ -41,14 +41,14 @@ class PassiveGetProductPortsOnlyTesterBase : //! //! \return from_productGetOut[portNum] Fw::InputDpGetPort* get_from_productGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp index 05fa204c0..e81768b29 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveGetProductsTesterBase :: // Connect input port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productGetOut()); port++ ) { this->m_from_productGetOut[port].init(); @@ -45,8 +45,8 @@ void PassiveGetProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void PassiveGetProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void PassiveGetProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void PassiveGetProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void PassiveGetProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void PassiveGetProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void PassiveGetProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -208,8 +208,8 @@ void PassiveGetProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -227,8 +227,8 @@ void PassiveGetProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -246,8 +246,8 @@ void PassiveGetProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -265,8 +265,8 @@ void PassiveGetProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -284,8 +284,8 @@ void PassiveGetProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -303,8 +303,8 @@ void PassiveGetProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -322,8 +322,8 @@ void PassiveGetProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -346,7 +346,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -360,7 +360,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -374,7 +374,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -388,7 +388,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -402,7 +402,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -416,7 +416,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -430,7 +430,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -444,7 +444,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -458,7 +458,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -475,7 +475,7 @@ void PassiveGetProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveGetProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -486,7 +486,7 @@ Fw::InputCmdRegPort* PassiveGetProductsTesterBase :: } Fw::InputCmdResponsePort* PassiveGetProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -497,7 +497,7 @@ Fw::InputCmdResponsePort* PassiveGetProductsTesterBase :: } Fw::InputLogPort* PassiveGetProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -508,7 +508,7 @@ Fw::InputLogPort* PassiveGetProductsTesterBase :: } Fw::InputPrmGetPort* PassiveGetProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -519,7 +519,7 @@ Fw::InputPrmGetPort* PassiveGetProductsTesterBase :: } Fw::InputPrmSetPort* PassiveGetProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -530,7 +530,7 @@ Fw::InputPrmSetPort* PassiveGetProductsTesterBase :: } Fw::InputDpGetPort* PassiveGetProductsTesterBase :: - get_from_productGetOut(NATIVE_INT_TYPE portNum) + get_from_productGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productGetOut(), @@ -541,7 +541,7 @@ Fw::InputDpGetPort* PassiveGetProductsTesterBase :: } Fw::InputDpSendPort* PassiveGetProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -554,7 +554,7 @@ Fw::InputDpSendPort* PassiveGetProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveGetProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -567,7 +567,7 @@ Fw::InputLogTextPort* PassiveGetProductsTesterBase :: #endif Fw::InputTimePort* PassiveGetProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -578,7 +578,7 @@ Fw::InputTimePort* PassiveGetProductsTesterBase :: } Fw::InputTlmPort* PassiveGetProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -589,7 +589,7 @@ Fw::InputTlmPort* PassiveGetProductsTesterBase :: } Ports::InputNoArgsPort* PassiveGetProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -600,7 +600,7 @@ Ports::InputNoArgsPort* PassiveGetProductsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveGetProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -611,7 +611,7 @@ Ports::InputNoArgsReturnPort* PassiveGetProductsTesterBase :: } Ports::InputTypedPort* PassiveGetProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -622,7 +622,7 @@ Ports::InputTypedPort* PassiveGetProductsTesterBase :: } Ports::InputTypedReturnPort* PassiveGetProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -672,7 +672,7 @@ PassiveGetProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveGetProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -683,7 +683,7 @@ void PassiveGetProductsTesterBase :: } U32 PassiveGetProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -695,7 +695,7 @@ U32 PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -724,7 +724,7 @@ void PassiveGetProductsTesterBase :: F32 PassiveGetProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -756,7 +756,7 @@ F32 PassiveGetProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveGetProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -767,7 +767,7 @@ void PassiveGetProductsTesterBase :: } U32 PassiveGetProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -778,7 +778,7 @@ U32 PassiveGetProductsTesterBase :: } U32 PassiveGetProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -789,7 +789,7 @@ U32 PassiveGetProductsTesterBase :: } void PassiveGetProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -801,7 +801,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -829,7 +829,7 @@ void PassiveGetProductsTesterBase :: F32 PassiveGetProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -857,7 +857,7 @@ F32 PassiveGetProductsTesterBase :: F32 PassiveGetProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -885,7 +885,7 @@ F32 PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1062,7 +1062,7 @@ NATIVE_INT_TYPE PassiveGetProductsTesterBase :: // ---------------------------------------------------------------------- bool PassiveGetProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1073,7 +1073,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1084,7 +1084,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1095,7 +1095,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1106,7 +1106,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1117,7 +1117,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1128,7 +1128,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1139,7 +1139,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1150,7 +1150,7 @@ bool PassiveGetProductsTesterBase :: } bool PassiveGetProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1306,7 +1306,7 @@ void PassiveGetProductsTesterBase :: Fw::Success PassiveGetProductsTesterBase :: from_productGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -1319,7 +1319,7 @@ Fw::Success PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1331,7 +1331,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1342,7 +1342,7 @@ void PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1353,7 +1353,7 @@ void PassiveGetProductsTesterBase :: U32 PassiveGetProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1364,7 +1364,7 @@ U32 PassiveGetProductsTesterBase :: void PassiveGetProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1391,7 +1391,7 @@ void PassiveGetProductsTesterBase :: F32 PassiveGetProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp index 198a548c3..7d8908bbf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp @@ -160,55 +160,55 @@ class PassiveGetProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -222,49 +222,49 @@ class PassiveGetProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productGetOut[portNum] Fw::InputDpGetPort* get_from_productGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -273,7 +273,7 @@ class PassiveGetProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -282,42 +282,42 @@ class PassiveGetProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -343,17 +343,17 @@ class PassiveGetProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -365,7 +365,7 @@ class PassiveGetProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -383,17 +383,17 @@ class PassiveGetProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -405,7 +405,7 @@ class PassiveGetProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -423,27 +423,27 @@ class PassiveGetProductsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -455,7 +455,7 @@ class PassiveGetProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -467,7 +467,7 @@ class PassiveGetProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -479,7 +479,7 @@ class PassiveGetProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -624,63 +624,63 @@ class PassiveGetProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -781,7 +781,7 @@ class PassiveGetProductsTesterBase : //! Static function for port from_productGetOut static Fw::Success from_productGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -790,7 +790,7 @@ class PassiveGetProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -798,26 +798,26 @@ class PassiveGetProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -830,7 +830,7 @@ class PassiveGetProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp index 844056ccc..0a28d5344 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void PassiveGuardedProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -227,8 +227,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -246,8 +246,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -265,8 +265,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -284,8 +284,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -303,8 +303,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -322,8 +322,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -341,8 +341,8 @@ void PassiveGuardedProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -365,7 +365,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -379,7 +379,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -393,7 +393,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -407,7 +407,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -421,7 +421,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -435,7 +435,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -449,7 +449,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -463,7 +463,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -477,7 +477,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -491,7 +491,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -508,7 +508,7 @@ void PassiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveGuardedProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -519,7 +519,7 @@ Fw::InputCmdRegPort* PassiveGuardedProductsTesterBase :: } Fw::InputCmdResponsePort* PassiveGuardedProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -530,7 +530,7 @@ Fw::InputCmdResponsePort* PassiveGuardedProductsTesterBase :: } Fw::InputLogPort* PassiveGuardedProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -541,7 +541,7 @@ Fw::InputLogPort* PassiveGuardedProductsTesterBase :: } Fw::InputPrmGetPort* PassiveGuardedProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -552,7 +552,7 @@ Fw::InputPrmGetPort* PassiveGuardedProductsTesterBase :: } Fw::InputPrmSetPort* PassiveGuardedProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -563,7 +563,7 @@ Fw::InputPrmSetPort* PassiveGuardedProductsTesterBase :: } Fw::InputDpRequestPort* PassiveGuardedProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -574,7 +574,7 @@ Fw::InputDpRequestPort* PassiveGuardedProductsTesterBase :: } Fw::InputDpSendPort* PassiveGuardedProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -587,7 +587,7 @@ Fw::InputDpSendPort* PassiveGuardedProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveGuardedProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -600,7 +600,7 @@ Fw::InputLogTextPort* PassiveGuardedProductsTesterBase :: #endif Fw::InputTimePort* PassiveGuardedProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -611,7 +611,7 @@ Fw::InputTimePort* PassiveGuardedProductsTesterBase :: } Fw::InputTlmPort* PassiveGuardedProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -622,7 +622,7 @@ Fw::InputTlmPort* PassiveGuardedProductsTesterBase :: } Ports::InputNoArgsPort* PassiveGuardedProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -633,7 +633,7 @@ Ports::InputNoArgsPort* PassiveGuardedProductsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveGuardedProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -644,7 +644,7 @@ Ports::InputNoArgsReturnPort* PassiveGuardedProductsTesterBase :: } Ports::InputTypedPort* PassiveGuardedProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -655,7 +655,7 @@ Ports::InputTypedPort* PassiveGuardedProductsTesterBase :: } Ports::InputTypedReturnPort* PassiveGuardedProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -705,7 +705,7 @@ PassiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveGuardedProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -716,7 +716,7 @@ void PassiveGuardedProductsTesterBase :: } U32 PassiveGuardedProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -728,7 +728,7 @@ U32 PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -757,7 +757,7 @@ void PassiveGuardedProductsTesterBase :: F32 PassiveGuardedProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -789,7 +789,7 @@ F32 PassiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveGuardedProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -800,7 +800,7 @@ void PassiveGuardedProductsTesterBase :: } U32 PassiveGuardedProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -811,7 +811,7 @@ U32 PassiveGuardedProductsTesterBase :: } U32 PassiveGuardedProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -822,7 +822,7 @@ U32 PassiveGuardedProductsTesterBase :: } void PassiveGuardedProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -834,7 +834,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -862,7 +862,7 @@ void PassiveGuardedProductsTesterBase :: F32 PassiveGuardedProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -890,7 +890,7 @@ F32 PassiveGuardedProductsTesterBase :: F32 PassiveGuardedProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -918,7 +918,7 @@ F32 PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1101,7 +1101,7 @@ NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: // ---------------------------------------------------------------------- bool PassiveGuardedProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1112,7 +1112,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1123,7 +1123,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1134,7 +1134,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1145,7 +1145,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1156,7 +1156,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1167,7 +1167,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1178,7 +1178,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1189,7 +1189,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1200,7 +1200,7 @@ bool PassiveGuardedProductsTesterBase :: } bool PassiveGuardedProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1365,7 +1365,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1377,7 +1377,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1389,7 +1389,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1400,7 +1400,7 @@ void PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1411,7 +1411,7 @@ void PassiveGuardedProductsTesterBase :: U32 PassiveGuardedProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1422,7 +1422,7 @@ U32 PassiveGuardedProductsTesterBase :: void PassiveGuardedProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1449,7 +1449,7 @@ void PassiveGuardedProductsTesterBase :: F32 PassiveGuardedProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp index bd48bf7bb..fbaf72369 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp @@ -160,61 +160,61 @@ class PassiveGuardedProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -228,49 +228,49 @@ class PassiveGuardedProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -279,7 +279,7 @@ class PassiveGuardedProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -288,42 +288,42 @@ class PassiveGuardedProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -349,17 +349,17 @@ class PassiveGuardedProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -371,7 +371,7 @@ class PassiveGuardedProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -389,17 +389,17 @@ class PassiveGuardedProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -411,7 +411,7 @@ class PassiveGuardedProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -429,27 +429,27 @@ class PassiveGuardedProductsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -461,7 +461,7 @@ class PassiveGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -473,7 +473,7 @@ class PassiveGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -485,7 +485,7 @@ class PassiveGuardedProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -635,70 +635,70 @@ class PassiveGuardedProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -804,7 +804,7 @@ class PassiveGuardedProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -812,7 +812,7 @@ class PassiveGuardedProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -820,26 +820,26 @@ class PassiveGuardedProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -852,7 +852,7 @@ class PassiveGuardedProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp index b35ea82f0..ae7d9abbb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveParamsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void PassiveParamsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void PassiveParamsTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -93,8 +93,8 @@ void PassiveParamsTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -117,8 +117,8 @@ void PassiveParamsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -141,8 +141,8 @@ void PassiveParamsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -165,8 +165,8 @@ void PassiveParamsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -189,8 +189,8 @@ void PassiveParamsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -213,8 +213,8 @@ void PassiveParamsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -237,8 +237,8 @@ void PassiveParamsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -256,8 +256,8 @@ void PassiveParamsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -275,8 +275,8 @@ void PassiveParamsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -294,8 +294,8 @@ void PassiveParamsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -313,8 +313,8 @@ void PassiveParamsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -332,8 +332,8 @@ void PassiveParamsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -351,8 +351,8 @@ void PassiveParamsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -370,8 +370,8 @@ void PassiveParamsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -389,8 +389,8 @@ void PassiveParamsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -413,7 +413,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -427,7 +427,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -441,7 +441,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -455,7 +455,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -469,7 +469,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -483,7 +483,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -497,7 +497,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -511,7 +511,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -525,7 +525,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -542,7 +542,7 @@ void PassiveParamsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveParamsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -553,7 +553,7 @@ Fw::InputCmdRegPort* PassiveParamsTesterBase :: } Fw::InputCmdResponsePort* PassiveParamsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -564,7 +564,7 @@ Fw::InputCmdResponsePort* PassiveParamsTesterBase :: } Fw::InputLogPort* PassiveParamsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -575,7 +575,7 @@ Fw::InputLogPort* PassiveParamsTesterBase :: } Fw::InputPrmGetPort* PassiveParamsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -586,7 +586,7 @@ Fw::InputPrmGetPort* PassiveParamsTesterBase :: } Fw::InputPrmSetPort* PassiveParamsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -599,7 +599,7 @@ Fw::InputPrmSetPort* PassiveParamsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveParamsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -612,7 +612,7 @@ Fw::InputLogTextPort* PassiveParamsTesterBase :: #endif Fw::InputTimePort* PassiveParamsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -623,7 +623,7 @@ Fw::InputTimePort* PassiveParamsTesterBase :: } Fw::InputTlmPort* PassiveParamsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -634,7 +634,7 @@ Fw::InputTlmPort* PassiveParamsTesterBase :: } Ports::InputNoArgsPort* PassiveParamsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -645,7 +645,7 @@ Ports::InputNoArgsPort* PassiveParamsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveParamsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -656,7 +656,7 @@ Ports::InputNoArgsReturnPort* PassiveParamsTesterBase :: } Ports::InputTypedPort* PassiveParamsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -667,7 +667,7 @@ Ports::InputTypedPort* PassiveParamsTesterBase :: } Ports::InputTypedReturnPort* PassiveParamsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -721,7 +721,7 @@ PassiveParamsTesterBase :: // ---------------------------------------------------------------------- void PassiveParamsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -732,7 +732,7 @@ void PassiveParamsTesterBase :: } U32 PassiveParamsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -744,7 +744,7 @@ U32 PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -773,7 +773,7 @@ void PassiveParamsTesterBase :: F32 PassiveParamsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -805,7 +805,7 @@ F32 PassiveParamsTesterBase :: // ---------------------------------------------------------------------- void PassiveParamsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -816,7 +816,7 @@ void PassiveParamsTesterBase :: } U32 PassiveParamsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -827,7 +827,7 @@ U32 PassiveParamsTesterBase :: } U32 PassiveParamsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -838,7 +838,7 @@ U32 PassiveParamsTesterBase :: } void PassiveParamsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -850,7 +850,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -878,7 +878,7 @@ void PassiveParamsTesterBase :: F32 PassiveParamsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -906,7 +906,7 @@ F32 PassiveParamsTesterBase :: F32 PassiveParamsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -934,7 +934,7 @@ F32 PassiveParamsTesterBase :: void PassiveParamsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1099,7 +1099,7 @@ NATIVE_INT_TYPE PassiveParamsTesterBase :: // ---------------------------------------------------------------------- bool PassiveParamsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1110,7 +1110,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1121,7 +1121,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1132,7 +1132,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1143,7 +1143,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1154,7 +1154,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1165,7 +1165,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1176,7 +1176,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1187,7 +1187,7 @@ bool PassiveParamsTesterBase :: } bool PassiveParamsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1691,7 +1691,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -1701,7 +1701,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -1714,7 +1714,7 @@ void PassiveParamsTesterBase :: Fw::ParamValid PassiveParamsTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -1801,7 +1801,7 @@ Fw::ParamValid PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -1907,7 +1907,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1918,7 +1918,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1929,7 +1929,7 @@ void PassiveParamsTesterBase :: U32 PassiveParamsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1940,7 +1940,7 @@ U32 PassiveParamsTesterBase :: void PassiveParamsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1967,7 +1967,7 @@ void PassiveParamsTesterBase :: F32 PassiveParamsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp index 3f9a3e764..2693888ef 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp @@ -154,55 +154,55 @@ class PassiveParamsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -216,35 +216,35 @@ class PassiveParamsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -253,7 +253,7 @@ class PassiveParamsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -262,42 +262,42 @@ class PassiveParamsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -323,17 +323,17 @@ class PassiveParamsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -345,7 +345,7 @@ class PassiveParamsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -363,17 +363,17 @@ class PassiveParamsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -385,7 +385,7 @@ class PassiveParamsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -403,27 +403,27 @@ class PassiveParamsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -435,7 +435,7 @@ class PassiveParamsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -447,7 +447,7 @@ class PassiveParamsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,7 +459,7 @@ class PassiveParamsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -594,63 +594,63 @@ class PassiveParamsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -847,14 +847,14 @@ class PassiveParamsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -863,7 +863,7 @@ class PassiveParamsTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -871,7 +871,7 @@ class PassiveParamsTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -879,26 +879,26 @@ class PassiveParamsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -911,7 +911,7 @@ class PassiveParamsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp index 451e1908b..54c3af242 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveSerialTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void PassiveSerialTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void PassiveSerialTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -93,8 +93,8 @@ void PassiveSerialTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -117,8 +117,8 @@ void PassiveSerialTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -142,8 +142,8 @@ void PassiveSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -167,8 +167,8 @@ void PassiveSerialTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -191,8 +191,8 @@ void PassiveSerialTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -215,8 +215,8 @@ void PassiveSerialTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -239,8 +239,8 @@ void PassiveSerialTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -263,8 +263,8 @@ void PassiveSerialTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -287,8 +287,8 @@ void PassiveSerialTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -311,8 +311,8 @@ void PassiveSerialTesterBase :: // Connect input port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_serialOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_serialOut()); port++ ) { this->m_from_serialOut[port].init(); @@ -335,8 +335,8 @@ void PassiveSerialTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -354,8 +354,8 @@ void PassiveSerialTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -373,8 +373,8 @@ void PassiveSerialTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -392,8 +392,8 @@ void PassiveSerialTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -411,8 +411,8 @@ void PassiveSerialTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -430,8 +430,8 @@ void PassiveSerialTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -449,8 +449,8 @@ void PassiveSerialTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -468,8 +468,8 @@ void PassiveSerialTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -487,8 +487,8 @@ void PassiveSerialTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -506,8 +506,8 @@ void PassiveSerialTesterBase :: // Connect output port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialGuarded()); port++ ) { this->m_to_serialGuarded[port].init(); @@ -525,8 +525,8 @@ void PassiveSerialTesterBase :: // Connect output port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialSync()); port++ ) { this->m_to_serialSync[port].init(); @@ -549,7 +549,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -563,7 +563,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -577,7 +577,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -591,7 +591,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -605,7 +605,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -619,7 +619,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -633,7 +633,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -647,7 +647,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -661,7 +661,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -675,7 +675,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -689,7 +689,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: connect_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -706,7 +706,7 @@ void PassiveSerialTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveSerialTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -717,7 +717,7 @@ Fw::InputCmdRegPort* PassiveSerialTesterBase :: } Fw::InputCmdResponsePort* PassiveSerialTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -728,7 +728,7 @@ Fw::InputCmdResponsePort* PassiveSerialTesterBase :: } Fw::InputLogPort* PassiveSerialTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -739,7 +739,7 @@ Fw::InputLogPort* PassiveSerialTesterBase :: } Fw::InputPrmGetPort* PassiveSerialTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -750,7 +750,7 @@ Fw::InputPrmGetPort* PassiveSerialTesterBase :: } Fw::InputPrmSetPort* PassiveSerialTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -763,7 +763,7 @@ Fw::InputPrmSetPort* PassiveSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveSerialTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -776,7 +776,7 @@ Fw::InputLogTextPort* PassiveSerialTesterBase :: #endif Fw::InputTimePort* PassiveSerialTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -787,7 +787,7 @@ Fw::InputTimePort* PassiveSerialTesterBase :: } Fw::InputTlmPort* PassiveSerialTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -798,7 +798,7 @@ Fw::InputTlmPort* PassiveSerialTesterBase :: } Ports::InputNoArgsPort* PassiveSerialTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsPort* PassiveSerialTesterBase :: } Ports::InputNoArgsReturnPort* PassiveSerialTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -820,7 +820,7 @@ Ports::InputNoArgsReturnPort* PassiveSerialTesterBase :: } Ports::InputTypedPort* PassiveSerialTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -831,7 +831,7 @@ Ports::InputTypedPort* PassiveSerialTesterBase :: } Ports::InputTypedReturnPort* PassiveSerialTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -842,7 +842,7 @@ Ports::InputTypedReturnPort* PassiveSerialTesterBase :: } Fw::InputSerializePort* PassiveSerialTesterBase :: - get_from_serialOut(NATIVE_INT_TYPE portNum) + get_from_serialOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_serialOut(), @@ -942,7 +942,7 @@ PassiveSerialTesterBase :: // ---------------------------------------------------------------------- void PassiveSerialTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -953,7 +953,7 @@ void PassiveSerialTesterBase :: } U32 PassiveSerialTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ U32 PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -994,7 +994,7 @@ void PassiveSerialTesterBase :: F32 PassiveSerialTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1023,7 +1023,7 @@ F32 PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1043,7 +1043,7 @@ void PassiveSerialTesterBase :: // ---------------------------------------------------------------------- void PassiveSerialTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1054,7 +1054,7 @@ void PassiveSerialTesterBase :: } U32 PassiveSerialTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1065,7 +1065,7 @@ U32 PassiveSerialTesterBase :: } U32 PassiveSerialTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1076,7 +1076,7 @@ U32 PassiveSerialTesterBase :: } void PassiveSerialTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1088,7 +1088,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1116,7 +1116,7 @@ void PassiveSerialTesterBase :: F32 PassiveSerialTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1144,7 +1144,7 @@ F32 PassiveSerialTesterBase :: F32 PassiveSerialTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1172,7 +1172,7 @@ F32 PassiveSerialTesterBase :: void PassiveSerialTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1200,7 +1200,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1216,7 +1216,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: invoke_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1387,7 +1387,7 @@ NATIVE_INT_TYPE PassiveSerialTesterBase :: // ---------------------------------------------------------------------- bool PassiveSerialTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1398,7 +1398,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1409,7 +1409,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1420,7 +1420,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1431,7 +1431,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1442,7 +1442,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1453,7 +1453,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1464,7 +1464,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1475,7 +1475,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1486,7 +1486,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_serialGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_serialGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialGuarded(), @@ -1497,7 +1497,7 @@ bool PassiveSerialTesterBase :: } bool PassiveSerialTesterBase :: - isConnected_to_serialSync(NATIVE_INT_TYPE portNum) + isConnected_to_serialSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialSync(), @@ -3222,7 +3222,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -3232,7 +3232,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -3245,7 +3245,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3259,7 +3259,7 @@ void PassiveSerialTesterBase :: Fw::ParamValid PassiveSerialTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3346,7 +3346,7 @@ Fw::ParamValid PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3454,7 +3454,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3470,7 +3470,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -3481,7 +3481,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -3494,7 +3494,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -3505,7 +3505,7 @@ void PassiveSerialTesterBase :: U32 PassiveSerialTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -3516,7 +3516,7 @@ U32 PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3543,7 +3543,7 @@ void PassiveSerialTesterBase :: F32 PassiveSerialTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3570,7 +3570,7 @@ F32 PassiveSerialTesterBase :: void PassiveSerialTesterBase :: from_serialOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp index fa2e652cd..2cfee43ed 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp @@ -260,67 +260,67 @@ class PassiveSerialTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to serialGuarded[portNum] void connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialSync[portNum] void connect_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); @@ -334,35 +334,35 @@ class PassiveSerialTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -371,7 +371,7 @@ class PassiveSerialTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -380,49 +380,49 @@ class PassiveSerialTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_serialOut[portNum] Fw::InputSerializePort* get_from_serialOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -448,17 +448,17 @@ class PassiveSerialTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -470,7 +470,7 @@ class PassiveSerialTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -482,7 +482,7 @@ class PassiveSerialTesterBase : //! Handler for input port from_serialOut virtual void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -494,17 +494,17 @@ class PassiveSerialTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -516,7 +516,7 @@ class PassiveSerialTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -528,7 +528,7 @@ class PassiveSerialTesterBase : //! Handler base-class function for from_serialOut void from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -540,27 +540,27 @@ class PassiveSerialTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -572,7 +572,7 @@ class PassiveSerialTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -584,7 +584,7 @@ class PassiveSerialTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -596,7 +596,7 @@ class PassiveSerialTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -608,13 +608,13 @@ class PassiveSerialTesterBase : //! Invoke the to port connected to serialGuarded void invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialSync void invoke_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -758,77 +758,77 @@ class PassiveSerialTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialGuarded is connected //! //! \return Whether port to_serialGuarded is connected bool isConnected_to_serialGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialSync is connected //! //! \return Whether port to_serialSync is connected bool isConnected_to_serialSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1271,14 +1271,14 @@ class PassiveSerialTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1287,7 +1287,7 @@ class PassiveSerialTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1297,7 +1297,7 @@ class PassiveSerialTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1305,7 +1305,7 @@ class PassiveSerialTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1315,7 +1315,7 @@ class PassiveSerialTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1327,14 +1327,14 @@ class PassiveSerialTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1343,19 +1343,19 @@ class PassiveSerialTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1368,7 +1368,7 @@ class PassiveSerialTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1381,7 +1381,7 @@ class PassiveSerialTesterBase : //! Static function for port from_serialOut static void from_serialOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp index 244ca2492..bccd36a50 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp @@ -26,7 +26,7 @@ void PassiveSyncProductPortsOnlyTesterBase :: void PassiveSyncProductPortsOnlyTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -43,7 +43,7 @@ void PassiveSyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Fw::InputDpRequestPort* PassiveSyncProductPortsOnlyTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -54,7 +54,7 @@ Fw::InputDpRequestPort* PassiveSyncProductPortsOnlyTesterBase :: } Fw::InputDpSendPort* PassiveSyncProductPortsOnlyTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -111,7 +111,7 @@ NATIVE_INT_TYPE PassiveSyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- bool PassiveSyncProductPortsOnlyTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp index 068704384..1a8782024 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp @@ -39,7 +39,7 @@ class PassiveSyncProductPortsOnlyTesterBase : //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); @@ -53,14 +53,14 @@ class PassiveSyncProductPortsOnlyTesterBase : //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -109,7 +109,7 @@ class PassiveSyncProductPortsOnlyTesterBase : //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); private: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp index edc110d7d..3b33e2a4c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void PassiveSyncProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -227,8 +227,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -246,8 +246,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -265,8 +265,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -284,8 +284,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -303,8 +303,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -322,8 +322,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -341,8 +341,8 @@ void PassiveSyncProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -365,7 +365,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -379,7 +379,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -393,7 +393,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -407,7 +407,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -421,7 +421,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -435,7 +435,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -449,7 +449,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -463,7 +463,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -477,7 +477,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -491,7 +491,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -508,7 +508,7 @@ void PassiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveSyncProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -519,7 +519,7 @@ Fw::InputCmdRegPort* PassiveSyncProductsTesterBase :: } Fw::InputCmdResponsePort* PassiveSyncProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -530,7 +530,7 @@ Fw::InputCmdResponsePort* PassiveSyncProductsTesterBase :: } Fw::InputLogPort* PassiveSyncProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -541,7 +541,7 @@ Fw::InputLogPort* PassiveSyncProductsTesterBase :: } Fw::InputPrmGetPort* PassiveSyncProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -552,7 +552,7 @@ Fw::InputPrmGetPort* PassiveSyncProductsTesterBase :: } Fw::InputPrmSetPort* PassiveSyncProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -563,7 +563,7 @@ Fw::InputPrmSetPort* PassiveSyncProductsTesterBase :: } Fw::InputDpRequestPort* PassiveSyncProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -574,7 +574,7 @@ Fw::InputDpRequestPort* PassiveSyncProductsTesterBase :: } Fw::InputDpSendPort* PassiveSyncProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -587,7 +587,7 @@ Fw::InputDpSendPort* PassiveSyncProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveSyncProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -600,7 +600,7 @@ Fw::InputLogTextPort* PassiveSyncProductsTesterBase :: #endif Fw::InputTimePort* PassiveSyncProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -611,7 +611,7 @@ Fw::InputTimePort* PassiveSyncProductsTesterBase :: } Fw::InputTlmPort* PassiveSyncProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -622,7 +622,7 @@ Fw::InputTlmPort* PassiveSyncProductsTesterBase :: } Ports::InputNoArgsPort* PassiveSyncProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -633,7 +633,7 @@ Ports::InputNoArgsPort* PassiveSyncProductsTesterBase :: } Ports::InputNoArgsReturnPort* PassiveSyncProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -644,7 +644,7 @@ Ports::InputNoArgsReturnPort* PassiveSyncProductsTesterBase :: } Ports::InputTypedPort* PassiveSyncProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -655,7 +655,7 @@ Ports::InputTypedPort* PassiveSyncProductsTesterBase :: } Ports::InputTypedReturnPort* PassiveSyncProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -705,7 +705,7 @@ PassiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveSyncProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -716,7 +716,7 @@ void PassiveSyncProductsTesterBase :: } U32 PassiveSyncProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -728,7 +728,7 @@ U32 PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -757,7 +757,7 @@ void PassiveSyncProductsTesterBase :: F32 PassiveSyncProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -789,7 +789,7 @@ F32 PassiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- void PassiveSyncProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -800,7 +800,7 @@ void PassiveSyncProductsTesterBase :: } U32 PassiveSyncProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -811,7 +811,7 @@ U32 PassiveSyncProductsTesterBase :: } U32 PassiveSyncProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -822,7 +822,7 @@ U32 PassiveSyncProductsTesterBase :: } void PassiveSyncProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -834,7 +834,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -862,7 +862,7 @@ void PassiveSyncProductsTesterBase :: F32 PassiveSyncProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -890,7 +890,7 @@ F32 PassiveSyncProductsTesterBase :: F32 PassiveSyncProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -918,7 +918,7 @@ F32 PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1101,7 +1101,7 @@ NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: // ---------------------------------------------------------------------- bool PassiveSyncProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1112,7 +1112,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1123,7 +1123,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1134,7 +1134,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1145,7 +1145,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1156,7 +1156,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1167,7 +1167,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1178,7 +1178,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1189,7 +1189,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1200,7 +1200,7 @@ bool PassiveSyncProductsTesterBase :: } bool PassiveSyncProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1365,7 +1365,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1377,7 +1377,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1389,7 +1389,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1400,7 +1400,7 @@ void PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1411,7 +1411,7 @@ void PassiveSyncProductsTesterBase :: U32 PassiveSyncProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1422,7 +1422,7 @@ U32 PassiveSyncProductsTesterBase :: void PassiveSyncProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1449,7 +1449,7 @@ void PassiveSyncProductsTesterBase :: F32 PassiveSyncProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp index 272fc9d05..fda2fca8e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp @@ -160,61 +160,61 @@ class PassiveSyncProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -228,49 +228,49 @@ class PassiveSyncProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -279,7 +279,7 @@ class PassiveSyncProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -288,42 +288,42 @@ class PassiveSyncProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -349,17 +349,17 @@ class PassiveSyncProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -371,7 +371,7 @@ class PassiveSyncProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -389,17 +389,17 @@ class PassiveSyncProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -411,7 +411,7 @@ class PassiveSyncProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -429,27 +429,27 @@ class PassiveSyncProductsTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -461,7 +461,7 @@ class PassiveSyncProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -473,7 +473,7 @@ class PassiveSyncProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -485,7 +485,7 @@ class PassiveSyncProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -635,70 +635,70 @@ class PassiveSyncProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -804,7 +804,7 @@ class PassiveSyncProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -812,7 +812,7 @@ class PassiveSyncProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -820,26 +820,26 @@ class PassiveSyncProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -852,7 +852,7 @@ class PassiveSyncProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp index e90afb370..1f6fab285 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveTelemetryTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -45,8 +45,8 @@ void PassiveTelemetryTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -69,8 +69,8 @@ void PassiveTelemetryTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -93,8 +93,8 @@ void PassiveTelemetryTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -117,8 +117,8 @@ void PassiveTelemetryTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -141,8 +141,8 @@ void PassiveTelemetryTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -165,8 +165,8 @@ void PassiveTelemetryTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -184,8 +184,8 @@ void PassiveTelemetryTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -203,8 +203,8 @@ void PassiveTelemetryTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -222,8 +222,8 @@ void PassiveTelemetryTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -241,8 +241,8 @@ void PassiveTelemetryTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -260,8 +260,8 @@ void PassiveTelemetryTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -279,8 +279,8 @@ void PassiveTelemetryTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -298,8 +298,8 @@ void PassiveTelemetryTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -322,7 +322,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -336,7 +336,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -350,7 +350,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -364,7 +364,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -378,7 +378,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -392,7 +392,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -406,7 +406,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -420,7 +420,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -434,7 +434,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -451,7 +451,7 @@ void PassiveTelemetryTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveTelemetryTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -462,7 +462,7 @@ Fw::InputCmdRegPort* PassiveTelemetryTesterBase :: } Fw::InputCmdResponsePort* PassiveTelemetryTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -473,7 +473,7 @@ Fw::InputCmdResponsePort* PassiveTelemetryTesterBase :: } Fw::InputLogPort* PassiveTelemetryTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -484,7 +484,7 @@ Fw::InputLogPort* PassiveTelemetryTesterBase :: } Fw::InputPrmGetPort* PassiveTelemetryTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -495,7 +495,7 @@ Fw::InputPrmGetPort* PassiveTelemetryTesterBase :: } Fw::InputPrmSetPort* PassiveTelemetryTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -508,7 +508,7 @@ Fw::InputPrmSetPort* PassiveTelemetryTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveTelemetryTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -521,7 +521,7 @@ Fw::InputLogTextPort* PassiveTelemetryTesterBase :: #endif Fw::InputTimePort* PassiveTelemetryTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -532,7 +532,7 @@ Fw::InputTimePort* PassiveTelemetryTesterBase :: } Fw::InputTlmPort* PassiveTelemetryTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -543,7 +543,7 @@ Fw::InputTlmPort* PassiveTelemetryTesterBase :: } Ports::InputNoArgsPort* PassiveTelemetryTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -554,7 +554,7 @@ Ports::InputNoArgsPort* PassiveTelemetryTesterBase :: } Ports::InputNoArgsReturnPort* PassiveTelemetryTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -565,7 +565,7 @@ Ports::InputNoArgsReturnPort* PassiveTelemetryTesterBase :: } Ports::InputTypedPort* PassiveTelemetryTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -576,7 +576,7 @@ Ports::InputTypedPort* PassiveTelemetryTesterBase :: } Ports::InputTypedReturnPort* PassiveTelemetryTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -644,7 +644,7 @@ PassiveTelemetryTesterBase :: // ---------------------------------------------------------------------- void PassiveTelemetryTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -655,7 +655,7 @@ void PassiveTelemetryTesterBase :: } U32 PassiveTelemetryTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -667,7 +667,7 @@ U32 PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -696,7 +696,7 @@ void PassiveTelemetryTesterBase :: F32 PassiveTelemetryTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -728,7 +728,7 @@ F32 PassiveTelemetryTesterBase :: // ---------------------------------------------------------------------- void PassiveTelemetryTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -739,7 +739,7 @@ void PassiveTelemetryTesterBase :: } U32 PassiveTelemetryTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -750,7 +750,7 @@ U32 PassiveTelemetryTesterBase :: } U32 PassiveTelemetryTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -761,7 +761,7 @@ U32 PassiveTelemetryTesterBase :: } void PassiveTelemetryTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -773,7 +773,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -801,7 +801,7 @@ void PassiveTelemetryTesterBase :: F32 PassiveTelemetryTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -829,7 +829,7 @@ F32 PassiveTelemetryTesterBase :: F32 PassiveTelemetryTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -857,7 +857,7 @@ F32 PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1022,7 +1022,7 @@ NATIVE_INT_TYPE PassiveTelemetryTesterBase :: // ---------------------------------------------------------------------- bool PassiveTelemetryTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1033,7 +1033,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1044,7 +1044,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1055,7 +1055,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1066,7 +1066,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1077,7 +1077,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1088,7 +1088,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1099,7 +1099,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1110,7 +1110,7 @@ bool PassiveTelemetryTesterBase :: } bool PassiveTelemetryTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1525,7 +1525,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1536,7 +1536,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -1549,7 +1549,7 @@ void PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1560,7 +1560,7 @@ void PassiveTelemetryTesterBase :: U32 PassiveTelemetryTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1571,7 +1571,7 @@ U32 PassiveTelemetryTesterBase :: void PassiveTelemetryTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1598,7 +1598,7 @@ void PassiveTelemetryTesterBase :: F32 PassiveTelemetryTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp index bba0a4123..f0fa90ffa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp @@ -213,55 +213,55 @@ class PassiveTelemetryTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -275,35 +275,35 @@ class PassiveTelemetryTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -312,7 +312,7 @@ class PassiveTelemetryTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -321,42 +321,42 @@ class PassiveTelemetryTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -382,17 +382,17 @@ class PassiveTelemetryTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -404,7 +404,7 @@ class PassiveTelemetryTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -422,17 +422,17 @@ class PassiveTelemetryTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -444,7 +444,7 @@ class PassiveTelemetryTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -462,27 +462,27 @@ class PassiveTelemetryTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -494,7 +494,7 @@ class PassiveTelemetryTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -506,7 +506,7 @@ class PassiveTelemetryTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -518,7 +518,7 @@ class PassiveTelemetryTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -653,63 +653,63 @@ class PassiveTelemetryTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -854,14 +854,14 @@ class PassiveTelemetryTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -870,19 +870,19 @@ class PassiveTelemetryTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -895,7 +895,7 @@ class PassiveTelemetryTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp index 5c50511f7..d74dfd51d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp @@ -21,8 +21,8 @@ void PassiveTestTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void PassiveTestTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void PassiveTestTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -93,8 +93,8 @@ void PassiveTestTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -117,8 +117,8 @@ void PassiveTestTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -141,8 +141,8 @@ void PassiveTestTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -165,8 +165,8 @@ void PassiveTestTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -190,8 +190,8 @@ void PassiveTestTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -215,8 +215,8 @@ void PassiveTestTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -239,8 +239,8 @@ void PassiveTestTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -263,8 +263,8 @@ void PassiveTestTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -287,8 +287,8 @@ void PassiveTestTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -311,8 +311,8 @@ void PassiveTestTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -335,8 +335,8 @@ void PassiveTestTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -359,8 +359,8 @@ void PassiveTestTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -378,8 +378,8 @@ void PassiveTestTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -397,8 +397,8 @@ void PassiveTestTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -416,8 +416,8 @@ void PassiveTestTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -435,8 +435,8 @@ void PassiveTestTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -454,8 +454,8 @@ void PassiveTestTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -473,8 +473,8 @@ void PassiveTestTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -492,8 +492,8 @@ void PassiveTestTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -511,8 +511,8 @@ void PassiveTestTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -530,8 +530,8 @@ void PassiveTestTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -554,7 +554,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -568,7 +568,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -582,7 +582,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -596,7 +596,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -610,7 +610,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -624,7 +624,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -638,7 +638,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -652,7 +652,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -666,7 +666,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -680,7 +680,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -697,7 +697,7 @@ void PassiveTestTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* PassiveTestTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -708,7 +708,7 @@ Fw::InputCmdRegPort* PassiveTestTesterBase :: } Fw::InputCmdResponsePort* PassiveTestTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -719,7 +719,7 @@ Fw::InputCmdResponsePort* PassiveTestTesterBase :: } Fw::InputLogPort* PassiveTestTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -730,7 +730,7 @@ Fw::InputLogPort* PassiveTestTesterBase :: } Fw::InputPrmGetPort* PassiveTestTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -741,7 +741,7 @@ Fw::InputPrmGetPort* PassiveTestTesterBase :: } Fw::InputPrmSetPort* PassiveTestTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -752,7 +752,7 @@ Fw::InputPrmSetPort* PassiveTestTesterBase :: } Fw::InputDpRequestPort* PassiveTestTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -763,7 +763,7 @@ Fw::InputDpRequestPort* PassiveTestTesterBase :: } Fw::InputDpSendPort* PassiveTestTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -776,7 +776,7 @@ Fw::InputDpSendPort* PassiveTestTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* PassiveTestTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -789,7 +789,7 @@ Fw::InputLogTextPort* PassiveTestTesterBase :: #endif Fw::InputTimePort* PassiveTestTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -800,7 +800,7 @@ Fw::InputTimePort* PassiveTestTesterBase :: } Fw::InputTlmPort* PassiveTestTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -811,7 +811,7 @@ Fw::InputTlmPort* PassiveTestTesterBase :: } Ports::InputNoArgsPort* PassiveTestTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -822,7 +822,7 @@ Ports::InputNoArgsPort* PassiveTestTesterBase :: } Ports::InputNoArgsReturnPort* PassiveTestTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -833,7 +833,7 @@ Ports::InputNoArgsReturnPort* PassiveTestTesterBase :: } Ports::InputTypedPort* PassiveTestTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -844,7 +844,7 @@ Ports::InputTypedPort* PassiveTestTesterBase :: } Ports::InputTypedReturnPort* PassiveTestTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -952,7 +952,7 @@ PassiveTestTesterBase :: // ---------------------------------------------------------------------- void PassiveTestTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -963,7 +963,7 @@ void PassiveTestTesterBase :: } U32 PassiveTestTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -975,7 +975,7 @@ U32 PassiveTestTesterBase :: void PassiveTestTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1004,7 +1004,7 @@ void PassiveTestTesterBase :: F32 PassiveTestTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1036,7 +1036,7 @@ F32 PassiveTestTesterBase :: // ---------------------------------------------------------------------- void PassiveTestTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1047,7 +1047,7 @@ void PassiveTestTesterBase :: } U32 PassiveTestTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1058,7 +1058,7 @@ U32 PassiveTestTesterBase :: } U32 PassiveTestTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1069,7 +1069,7 @@ U32 PassiveTestTesterBase :: } void PassiveTestTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1081,7 +1081,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1109,7 +1109,7 @@ void PassiveTestTesterBase :: F32 PassiveTestTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1137,7 +1137,7 @@ F32 PassiveTestTesterBase :: F32 PassiveTestTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1165,7 +1165,7 @@ F32 PassiveTestTesterBase :: void PassiveTestTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1348,7 +1348,7 @@ NATIVE_INT_TYPE PassiveTestTesterBase :: // ---------------------------------------------------------------------- bool PassiveTestTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1359,7 +1359,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1370,7 +1370,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1381,7 +1381,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1392,7 +1392,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1403,7 +1403,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1414,7 +1414,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1425,7 +1425,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1436,7 +1436,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1447,7 +1447,7 @@ bool PassiveTestTesterBase :: } bool PassiveTestTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -3228,7 +3228,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -3238,7 +3238,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -3251,7 +3251,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3265,7 +3265,7 @@ void PassiveTestTesterBase :: Fw::ParamValid PassiveTestTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3352,7 +3352,7 @@ Fw::ParamValid PassiveTestTesterBase :: void PassiveTestTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3458,7 +3458,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -3470,7 +3470,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -3484,7 +3484,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3500,7 +3500,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -3511,7 +3511,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -3524,7 +3524,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -3535,7 +3535,7 @@ void PassiveTestTesterBase :: U32 PassiveTestTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -3546,7 +3546,7 @@ U32 PassiveTestTesterBase :: void PassiveTestTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -3573,7 +3573,7 @@ void PassiveTestTesterBase :: F32 PassiveTestTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp index 3e8eb3124..9b78d5b67 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp @@ -273,61 +273,61 @@ class PassiveTestTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -341,49 +341,49 @@ class PassiveTestTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -392,7 +392,7 @@ class PassiveTestTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -401,42 +401,42 @@ class PassiveTestTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -462,17 +462,17 @@ class PassiveTestTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -484,7 +484,7 @@ class PassiveTestTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -502,17 +502,17 @@ class PassiveTestTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -524,7 +524,7 @@ class PassiveTestTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -542,27 +542,27 @@ class PassiveTestTesterBase : //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -574,7 +574,7 @@ class PassiveTestTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -586,7 +586,7 @@ class PassiveTestTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -598,7 +598,7 @@ class PassiveTestTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -748,70 +748,70 @@ class PassiveTestTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1297,14 +1297,14 @@ class PassiveTestTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1313,7 +1313,7 @@ class PassiveTestTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1323,7 +1323,7 @@ class PassiveTestTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1331,7 +1331,7 @@ class PassiveTestTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1339,7 +1339,7 @@ class PassiveTestTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -1347,7 +1347,7 @@ class PassiveTestTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1357,7 +1357,7 @@ class PassiveTestTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1369,14 +1369,14 @@ class PassiveTestTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1385,19 +1385,19 @@ class PassiveTestTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1410,7 +1410,7 @@ class PassiveTestTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp index 4bb12a230..38fb5cb03 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp @@ -26,7 +26,7 @@ void QueuedAsyncProductPortsOnlyTesterBase :: void QueuedAsyncProductPortsOnlyTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -43,7 +43,7 @@ void QueuedAsyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Fw::InputDpRequestPort* QueuedAsyncProductPortsOnlyTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -54,7 +54,7 @@ Fw::InputDpRequestPort* QueuedAsyncProductPortsOnlyTesterBase :: } Fw::InputDpSendPort* QueuedAsyncProductPortsOnlyTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -111,7 +111,7 @@ NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyTesterBase :: // ---------------------------------------------------------------------- bool QueuedAsyncProductPortsOnlyTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp index 41c22de6c..4cd2a9743 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp @@ -39,7 +39,7 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); @@ -53,14 +53,14 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -109,7 +109,7 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); private: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp index 5afb480c6..833de96cf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void QueuedAsyncProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void QueuedAsyncProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void QueuedAsyncProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedAsyncProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* QueuedAsyncProductsTesterBase :: } Fw::InputCmdResponsePort* QueuedAsyncProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* QueuedAsyncProductsTesterBase :: } Fw::InputLogPort* QueuedAsyncProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* QueuedAsyncProductsTesterBase :: } Fw::InputPrmGetPort* QueuedAsyncProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* QueuedAsyncProductsTesterBase :: } Fw::InputPrmSetPort* QueuedAsyncProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* QueuedAsyncProductsTesterBase :: } Fw::InputDpRequestPort* QueuedAsyncProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* QueuedAsyncProductsTesterBase :: } Fw::InputDpSendPort* QueuedAsyncProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* QueuedAsyncProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedAsyncProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* QueuedAsyncProductsTesterBase :: #endif Fw::InputTimePort* QueuedAsyncProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* QueuedAsyncProductsTesterBase :: } Fw::InputTlmPort* QueuedAsyncProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* QueuedAsyncProductsTesterBase :: } Ports::InputNoArgsPort* QueuedAsyncProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* QueuedAsyncProductsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedAsyncProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* QueuedAsyncProductsTesterBase :: } Ports::InputTypedPort* QueuedAsyncProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* QueuedAsyncProductsTesterBase :: } Ports::InputTypedReturnPort* QueuedAsyncProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ QueuedAsyncProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedAsyncProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void QueuedAsyncProductsTesterBase :: } U32 QueuedAsyncProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void QueuedAsyncProductsTesterBase :: F32 QueuedAsyncProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 QueuedAsyncProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedAsyncProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void QueuedAsyncProductsTesterBase :: } void QueuedAsyncProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void QueuedAsyncProductsTesterBase :: } U32 QueuedAsyncProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 QueuedAsyncProductsTesterBase :: } U32 QueuedAsyncProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 QueuedAsyncProductsTesterBase :: } void QueuedAsyncProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void QueuedAsyncProductsTesterBase :: F32 QueuedAsyncProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 QueuedAsyncProductsTesterBase :: F32 QueuedAsyncProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: // ---------------------------------------------------------------------- bool QueuedAsyncProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool QueuedAsyncProductsTesterBase :: } bool QueuedAsyncProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void QueuedAsyncProductsTesterBase :: U32 QueuedAsyncProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 QueuedAsyncProductsTesterBase :: void QueuedAsyncProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void QueuedAsyncProductsTesterBase :: F32 QueuedAsyncProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp index 02e19549a..3bbe08f3b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class QueuedAsyncProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class QueuedAsyncProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class QueuedAsyncProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class QueuedAsyncProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class QueuedAsyncProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class QueuedAsyncProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class QueuedAsyncProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class QueuedAsyncProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class QueuedAsyncProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class QueuedAsyncProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class QueuedAsyncProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class QueuedAsyncProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class QueuedAsyncProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class QueuedAsyncProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp index 16e5b33b3..c957b130d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedCommandsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void QueuedCommandsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void QueuedCommandsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedCommandsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void QueuedCommandsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void QueuedCommandsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void QueuedCommandsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedCommandsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -208,8 +208,8 @@ void QueuedCommandsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void QueuedCommandsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void QueuedCommandsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void QueuedCommandsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void QueuedCommandsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void QueuedCommandsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -488,7 +488,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -516,7 +516,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -544,7 +544,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -558,7 +558,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -628,7 +628,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -659,7 +659,7 @@ void QueuedCommandsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedCommandsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -670,7 +670,7 @@ Fw::InputCmdRegPort* QueuedCommandsTesterBase :: } Fw::InputCmdResponsePort* QueuedCommandsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -681,7 +681,7 @@ Fw::InputCmdResponsePort* QueuedCommandsTesterBase :: } Fw::InputLogPort* QueuedCommandsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -692,7 +692,7 @@ Fw::InputLogPort* QueuedCommandsTesterBase :: } Fw::InputPrmGetPort* QueuedCommandsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -703,7 +703,7 @@ Fw::InputPrmGetPort* QueuedCommandsTesterBase :: } Fw::InputPrmSetPort* QueuedCommandsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -716,7 +716,7 @@ Fw::InputPrmSetPort* QueuedCommandsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedCommandsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -729,7 +729,7 @@ Fw::InputLogTextPort* QueuedCommandsTesterBase :: #endif Fw::InputTimePort* QueuedCommandsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -740,7 +740,7 @@ Fw::InputTimePort* QueuedCommandsTesterBase :: } Fw::InputTlmPort* QueuedCommandsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -751,7 +751,7 @@ Fw::InputTlmPort* QueuedCommandsTesterBase :: } Ports::InputNoArgsPort* QueuedCommandsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -762,7 +762,7 @@ Ports::InputNoArgsPort* QueuedCommandsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedCommandsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -773,7 +773,7 @@ Ports::InputNoArgsReturnPort* QueuedCommandsTesterBase :: } Ports::InputTypedPort* QueuedCommandsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -784,7 +784,7 @@ Ports::InputTypedPort* QueuedCommandsTesterBase :: } Ports::InputTypedReturnPort* QueuedCommandsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -832,7 +832,7 @@ QueuedCommandsTesterBase :: // ---------------------------------------------------------------------- void QueuedCommandsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -843,7 +843,7 @@ void QueuedCommandsTesterBase :: } U32 QueuedCommandsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -855,7 +855,7 @@ U32 QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -884,7 +884,7 @@ void QueuedCommandsTesterBase :: F32 QueuedCommandsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -916,7 +916,7 @@ F32 QueuedCommandsTesterBase :: // ---------------------------------------------------------------------- void QueuedCommandsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -927,7 +927,7 @@ void QueuedCommandsTesterBase :: } void QueuedCommandsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -938,7 +938,7 @@ void QueuedCommandsTesterBase :: } U32 QueuedCommandsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -949,7 +949,7 @@ U32 QueuedCommandsTesterBase :: } U32 QueuedCommandsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -960,7 +960,7 @@ U32 QueuedCommandsTesterBase :: } void QueuedCommandsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -972,7 +972,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1000,7 +1000,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1028,7 +1028,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1056,7 +1056,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1084,7 +1084,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1112,7 +1112,7 @@ void QueuedCommandsTesterBase :: F32 QueuedCommandsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1140,7 +1140,7 @@ F32 QueuedCommandsTesterBase :: F32 QueuedCommandsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1168,7 +1168,7 @@ F32 QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1363,7 +1363,7 @@ NATIVE_INT_TYPE QueuedCommandsTesterBase :: // ---------------------------------------------------------------------- bool QueuedCommandsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1374,7 +1374,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1385,7 +1385,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1396,7 +1396,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1407,7 +1407,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1418,7 +1418,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1429,7 +1429,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1440,7 +1440,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1451,7 +1451,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1462,7 +1462,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1473,7 +1473,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1484,7 +1484,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1495,7 +1495,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1506,7 +1506,7 @@ bool QueuedCommandsTesterBase :: } bool QueuedCommandsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2227,7 +2227,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -2237,7 +2237,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -2250,7 +2250,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2261,7 +2261,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2272,7 +2272,7 @@ void QueuedCommandsTesterBase :: U32 QueuedCommandsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2283,7 +2283,7 @@ U32 QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2310,7 +2310,7 @@ void QueuedCommandsTesterBase :: F32 QueuedCommandsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp index a67a003bf..78cba8575 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp @@ -154,85 +154,85 @@ class QueuedCommandsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -246,35 +246,35 @@ class QueuedCommandsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -283,7 +283,7 @@ class QueuedCommandsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -292,42 +292,42 @@ class QueuedCommandsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -353,17 +353,17 @@ class QueuedCommandsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -375,7 +375,7 @@ class QueuedCommandsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -393,17 +393,17 @@ class QueuedCommandsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -415,7 +415,7 @@ class QueuedCommandsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -433,32 +433,32 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -470,7 +470,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -482,7 +482,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -494,7 +494,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -506,7 +506,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -518,7 +518,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -530,7 +530,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -542,7 +542,7 @@ class QueuedCommandsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -702,98 +702,98 @@ class QueuedCommandsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -996,14 +996,14 @@ class QueuedCommandsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1012,26 +1012,26 @@ class QueuedCommandsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1044,7 +1044,7 @@ class QueuedCommandsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp index 6ddbc8d0a..4f20c8d41 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedEventsTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -46,8 +46,8 @@ void QueuedEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -71,8 +71,8 @@ void QueuedEventsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -95,8 +95,8 @@ void QueuedEventsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -119,8 +119,8 @@ void QueuedEventsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -143,8 +143,8 @@ void QueuedEventsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -167,8 +167,8 @@ void QueuedEventsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -191,8 +191,8 @@ void QueuedEventsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -210,8 +210,8 @@ void QueuedEventsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -229,8 +229,8 @@ void QueuedEventsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -248,8 +248,8 @@ void QueuedEventsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -267,8 +267,8 @@ void QueuedEventsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -286,8 +286,8 @@ void QueuedEventsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -305,8 +305,8 @@ void QueuedEventsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -324,8 +324,8 @@ void QueuedEventsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -343,8 +343,8 @@ void QueuedEventsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -362,8 +362,8 @@ void QueuedEventsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -381,8 +381,8 @@ void QueuedEventsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -400,8 +400,8 @@ void QueuedEventsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -419,8 +419,8 @@ void QueuedEventsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -443,7 +443,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -457,7 +457,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -471,7 +471,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -485,7 +485,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -499,7 +499,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -513,7 +513,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -527,7 +527,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -541,7 +541,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -555,7 +555,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -569,7 +569,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -583,7 +583,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -597,7 +597,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -611,7 +611,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -625,7 +625,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -642,7 +642,7 @@ void QueuedEventsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedEventsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -653,7 +653,7 @@ Fw::InputCmdRegPort* QueuedEventsTesterBase :: } Fw::InputCmdResponsePort* QueuedEventsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -664,7 +664,7 @@ Fw::InputCmdResponsePort* QueuedEventsTesterBase :: } Fw::InputLogPort* QueuedEventsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -675,7 +675,7 @@ Fw::InputLogPort* QueuedEventsTesterBase :: } Fw::InputPrmGetPort* QueuedEventsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -686,7 +686,7 @@ Fw::InputPrmGetPort* QueuedEventsTesterBase :: } Fw::InputPrmSetPort* QueuedEventsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -699,7 +699,7 @@ Fw::InputPrmSetPort* QueuedEventsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedEventsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -712,7 +712,7 @@ Fw::InputLogTextPort* QueuedEventsTesterBase :: #endif Fw::InputTimePort* QueuedEventsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -723,7 +723,7 @@ Fw::InputTimePort* QueuedEventsTesterBase :: } Fw::InputTlmPort* QueuedEventsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -734,7 +734,7 @@ Fw::InputTlmPort* QueuedEventsTesterBase :: } Ports::InputNoArgsPort* QueuedEventsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -745,7 +745,7 @@ Ports::InputNoArgsPort* QueuedEventsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedEventsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -756,7 +756,7 @@ Ports::InputNoArgsReturnPort* QueuedEventsTesterBase :: } Ports::InputTypedPort* QueuedEventsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -767,7 +767,7 @@ Ports::InputTypedPort* QueuedEventsTesterBase :: } Ports::InputTypedReturnPort* QueuedEventsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -829,7 +829,7 @@ QueuedEventsTesterBase :: // ---------------------------------------------------------------------- void QueuedEventsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -840,7 +840,7 @@ void QueuedEventsTesterBase :: } U32 QueuedEventsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -852,7 +852,7 @@ U32 QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -881,7 +881,7 @@ void QueuedEventsTesterBase :: F32 QueuedEventsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -913,7 +913,7 @@ F32 QueuedEventsTesterBase :: // ---------------------------------------------------------------------- void QueuedEventsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -924,7 +924,7 @@ void QueuedEventsTesterBase :: } void QueuedEventsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -935,7 +935,7 @@ void QueuedEventsTesterBase :: } U32 QueuedEventsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -946,7 +946,7 @@ U32 QueuedEventsTesterBase :: } U32 QueuedEventsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -957,7 +957,7 @@ U32 QueuedEventsTesterBase :: } void QueuedEventsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -969,7 +969,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -997,7 +997,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1025,7 +1025,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1053,7 +1053,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1081,7 +1081,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1109,7 +1109,7 @@ void QueuedEventsTesterBase :: F32 QueuedEventsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1137,7 +1137,7 @@ F32 QueuedEventsTesterBase :: F32 QueuedEventsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1165,7 +1165,7 @@ F32 QueuedEventsTesterBase :: void QueuedEventsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1360,7 +1360,7 @@ NATIVE_INT_TYPE QueuedEventsTesterBase :: // ---------------------------------------------------------------------- bool QueuedEventsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1371,7 +1371,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1382,7 +1382,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1393,7 +1393,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1404,7 +1404,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1415,7 +1415,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1426,7 +1426,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1437,7 +1437,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1448,7 +1448,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1459,7 +1459,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1470,7 +1470,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1481,7 +1481,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1492,7 +1492,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1503,7 +1503,7 @@ bool QueuedEventsTesterBase :: } bool QueuedEventsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2095,7 +2095,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -2111,7 +2111,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -2127,7 +2127,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2138,7 +2138,7 @@ void QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2149,7 +2149,7 @@ void QueuedEventsTesterBase :: U32 QueuedEventsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2160,7 +2160,7 @@ U32 QueuedEventsTesterBase :: void QueuedEventsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2187,7 +2187,7 @@ void QueuedEventsTesterBase :: F32 QueuedEventsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp index d1a7af7f5..a68ed3d69 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp @@ -187,85 +187,85 @@ class QueuedEventsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -279,35 +279,35 @@ class QueuedEventsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -316,7 +316,7 @@ class QueuedEventsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -325,42 +325,42 @@ class QueuedEventsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -386,17 +386,17 @@ class QueuedEventsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -408,7 +408,7 @@ class QueuedEventsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -426,17 +426,17 @@ class QueuedEventsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -448,7 +448,7 @@ class QueuedEventsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -466,32 +466,32 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -503,7 +503,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -515,7 +515,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -527,7 +527,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -539,7 +539,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -551,7 +551,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -563,7 +563,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -575,7 +575,7 @@ class QueuedEventsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -735,98 +735,98 @@ class QueuedEventsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -965,7 +965,7 @@ class QueuedEventsTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -977,7 +977,7 @@ class QueuedEventsTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -989,26 +989,26 @@ class QueuedEventsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1021,7 +1021,7 @@ class QueuedEventsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp index e6b1289e1..f7df329fa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedGetProductsTesterBase :: // Connect input port productGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productGetOut()); port++ ) { this->m_from_productGetOut[port].init(); @@ -45,8 +45,8 @@ void QueuedGetProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void QueuedGetProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedGetProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void QueuedGetProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void QueuedGetProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void QueuedGetProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedGetProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -208,8 +208,8 @@ void QueuedGetProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -227,8 +227,8 @@ void QueuedGetProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -246,8 +246,8 @@ void QueuedGetProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -265,8 +265,8 @@ void QueuedGetProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -284,8 +284,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -303,8 +303,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -322,8 +322,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -341,8 +341,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -360,8 +360,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -379,8 +379,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -398,8 +398,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -417,8 +417,8 @@ void QueuedGetProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -441,7 +441,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -455,7 +455,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -469,7 +469,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -483,7 +483,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -497,7 +497,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -511,7 +511,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -525,7 +525,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -539,7 +539,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -553,7 +553,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -567,7 +567,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -581,7 +581,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -595,7 +595,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -609,7 +609,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -623,7 +623,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -640,7 +640,7 @@ void QueuedGetProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedGetProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -651,7 +651,7 @@ Fw::InputCmdRegPort* QueuedGetProductsTesterBase :: } Fw::InputCmdResponsePort* QueuedGetProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -662,7 +662,7 @@ Fw::InputCmdResponsePort* QueuedGetProductsTesterBase :: } Fw::InputLogPort* QueuedGetProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -673,7 +673,7 @@ Fw::InputLogPort* QueuedGetProductsTesterBase :: } Fw::InputPrmGetPort* QueuedGetProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -684,7 +684,7 @@ Fw::InputPrmGetPort* QueuedGetProductsTesterBase :: } Fw::InputPrmSetPort* QueuedGetProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -695,7 +695,7 @@ Fw::InputPrmSetPort* QueuedGetProductsTesterBase :: } Fw::InputDpGetPort* QueuedGetProductsTesterBase :: - get_from_productGetOut(NATIVE_INT_TYPE portNum) + get_from_productGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productGetOut(), @@ -706,7 +706,7 @@ Fw::InputDpGetPort* QueuedGetProductsTesterBase :: } Fw::InputDpSendPort* QueuedGetProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -719,7 +719,7 @@ Fw::InputDpSendPort* QueuedGetProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedGetProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -732,7 +732,7 @@ Fw::InputLogTextPort* QueuedGetProductsTesterBase :: #endif Fw::InputTimePort* QueuedGetProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -743,7 +743,7 @@ Fw::InputTimePort* QueuedGetProductsTesterBase :: } Fw::InputTlmPort* QueuedGetProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -754,7 +754,7 @@ Fw::InputTlmPort* QueuedGetProductsTesterBase :: } Ports::InputNoArgsPort* QueuedGetProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -765,7 +765,7 @@ Ports::InputNoArgsPort* QueuedGetProductsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedGetProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -776,7 +776,7 @@ Ports::InputNoArgsReturnPort* QueuedGetProductsTesterBase :: } Ports::InputTypedPort* QueuedGetProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -787,7 +787,7 @@ Ports::InputTypedPort* QueuedGetProductsTesterBase :: } Ports::InputTypedReturnPort* QueuedGetProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -837,7 +837,7 @@ QueuedGetProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedGetProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -848,7 +848,7 @@ void QueuedGetProductsTesterBase :: } U32 QueuedGetProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -860,7 +860,7 @@ U32 QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -889,7 +889,7 @@ void QueuedGetProductsTesterBase :: F32 QueuedGetProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -921,7 +921,7 @@ F32 QueuedGetProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedGetProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -932,7 +932,7 @@ void QueuedGetProductsTesterBase :: } void QueuedGetProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -943,7 +943,7 @@ void QueuedGetProductsTesterBase :: } U32 QueuedGetProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -954,7 +954,7 @@ U32 QueuedGetProductsTesterBase :: } U32 QueuedGetProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ U32 QueuedGetProductsTesterBase :: } void QueuedGetProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -977,7 +977,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1005,7 +1005,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1033,7 +1033,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1061,7 +1061,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1089,7 +1089,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1117,7 +1117,7 @@ void QueuedGetProductsTesterBase :: F32 QueuedGetProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1145,7 +1145,7 @@ F32 QueuedGetProductsTesterBase :: F32 QueuedGetProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1173,7 +1173,7 @@ F32 QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1380,7 +1380,7 @@ NATIVE_INT_TYPE QueuedGetProductsTesterBase :: // ---------------------------------------------------------------------- bool QueuedGetProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1391,7 +1391,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1402,7 +1402,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1413,7 +1413,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1424,7 +1424,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1435,7 +1435,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1446,7 +1446,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1457,7 +1457,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1468,7 +1468,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1479,7 +1479,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1490,7 +1490,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1501,7 +1501,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1512,7 +1512,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1523,7 +1523,7 @@ bool QueuedGetProductsTesterBase :: } bool QueuedGetProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1679,7 +1679,7 @@ void QueuedGetProductsTesterBase :: Fw::Success QueuedGetProductsTesterBase :: from_productGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize, Fw::Buffer& buffer @@ -1692,7 +1692,7 @@ Fw::Success QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1704,7 +1704,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1715,7 +1715,7 @@ void QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1726,7 +1726,7 @@ void QueuedGetProductsTesterBase :: U32 QueuedGetProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1737,7 +1737,7 @@ U32 QueuedGetProductsTesterBase :: void QueuedGetProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1764,7 +1764,7 @@ void QueuedGetProductsTesterBase :: F32 QueuedGetProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp index 4a993382c..1d4bb0af8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp @@ -160,85 +160,85 @@ class QueuedGetProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -252,49 +252,49 @@ class QueuedGetProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productGetOut[portNum] Fw::InputDpGetPort* get_from_productGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -303,7 +303,7 @@ class QueuedGetProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -312,42 +312,42 @@ class QueuedGetProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -373,17 +373,17 @@ class QueuedGetProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -395,7 +395,7 @@ class QueuedGetProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -413,17 +413,17 @@ class QueuedGetProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -435,7 +435,7 @@ class QueuedGetProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -453,32 +453,32 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -490,7 +490,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -502,7 +502,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -514,7 +514,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -526,7 +526,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -538,7 +538,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -550,7 +550,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -562,7 +562,7 @@ class QueuedGetProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -732,98 +732,98 @@ class QueuedGetProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -924,7 +924,7 @@ class QueuedGetProductsTesterBase : //! Static function for port from_productGetOut static Fw::Success from_productGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID (input) FwSizeType dataSize, //!< The data size of the requested buffer (input) Fw::Buffer& buffer //!< The buffer (output) @@ -933,7 +933,7 @@ class QueuedGetProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -941,26 +941,26 @@ class QueuedGetProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -973,7 +973,7 @@ class QueuedGetProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp index 51b23d7ef..c75a1f8bd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void QueuedGuardedProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void QueuedGuardedProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void QueuedGuardedProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedGuardedProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* QueuedGuardedProductsTesterBase :: } Fw::InputCmdResponsePort* QueuedGuardedProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* QueuedGuardedProductsTesterBase :: } Fw::InputLogPort* QueuedGuardedProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* QueuedGuardedProductsTesterBase :: } Fw::InputPrmGetPort* QueuedGuardedProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* QueuedGuardedProductsTesterBase :: } Fw::InputPrmSetPort* QueuedGuardedProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* QueuedGuardedProductsTesterBase :: } Fw::InputDpRequestPort* QueuedGuardedProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* QueuedGuardedProductsTesterBase :: } Fw::InputDpSendPort* QueuedGuardedProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* QueuedGuardedProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedGuardedProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* QueuedGuardedProductsTesterBase :: #endif Fw::InputTimePort* QueuedGuardedProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* QueuedGuardedProductsTesterBase :: } Fw::InputTlmPort* QueuedGuardedProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* QueuedGuardedProductsTesterBase :: } Ports::InputNoArgsPort* QueuedGuardedProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* QueuedGuardedProductsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedGuardedProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* QueuedGuardedProductsTesterBase :: } Ports::InputTypedPort* QueuedGuardedProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* QueuedGuardedProductsTesterBase :: } Ports::InputTypedReturnPort* QueuedGuardedProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ QueuedGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedGuardedProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void QueuedGuardedProductsTesterBase :: } U32 QueuedGuardedProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void QueuedGuardedProductsTesterBase :: F32 QueuedGuardedProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 QueuedGuardedProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedGuardedProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void QueuedGuardedProductsTesterBase :: } void QueuedGuardedProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void QueuedGuardedProductsTesterBase :: } U32 QueuedGuardedProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 QueuedGuardedProductsTesterBase :: } U32 QueuedGuardedProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 QueuedGuardedProductsTesterBase :: } void QueuedGuardedProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void QueuedGuardedProductsTesterBase :: F32 QueuedGuardedProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 QueuedGuardedProductsTesterBase :: F32 QueuedGuardedProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: // ---------------------------------------------------------------------- bool QueuedGuardedProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool QueuedGuardedProductsTesterBase :: } bool QueuedGuardedProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void QueuedGuardedProductsTesterBase :: U32 QueuedGuardedProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 QueuedGuardedProductsTesterBase :: void QueuedGuardedProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void QueuedGuardedProductsTesterBase :: F32 QueuedGuardedProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp index 9d6223e46..25f76ff48 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class QueuedGuardedProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class QueuedGuardedProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class QueuedGuardedProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class QueuedGuardedProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class QueuedGuardedProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class QueuedGuardedProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class QueuedGuardedProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class QueuedGuardedProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class QueuedGuardedProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class QueuedGuardedProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class QueuedGuardedProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class QueuedGuardedProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class QueuedGuardedProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class QueuedGuardedProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp index 48b38a1a6..fc79ea496 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -45,8 +45,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -69,8 +69,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -88,8 +88,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -107,8 +107,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -126,8 +126,8 @@ void QueuedNoArgsPortsOnlyTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -150,7 +150,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: void QueuedNoArgsPortsOnlyTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -164,7 +164,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: void QueuedNoArgsPortsOnlyTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -178,7 +178,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: void QueuedNoArgsPortsOnlyTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -192,7 +192,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: void QueuedNoArgsPortsOnlyTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -209,7 +209,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -220,7 +220,7 @@ Ports::InputNoArgsPort* QueuedNoArgsPortsOnlyTesterBase :: } Ports::InputNoArgsReturnPort* QueuedNoArgsPortsOnlyTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -258,7 +258,7 @@ QueuedNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -269,7 +269,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: } U32 QueuedNoArgsPortsOnlyTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -284,7 +284,7 @@ U32 QueuedNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -295,7 +295,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: } void QueuedNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -306,7 +306,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: } U32 QueuedNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -317,7 +317,7 @@ U32 QueuedNoArgsPortsOnlyTesterBase :: } U32 QueuedNoArgsPortsOnlyTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -372,7 +372,7 @@ NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: // ---------------------------------------------------------------------- bool QueuedNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -383,7 +383,7 @@ bool QueuedNoArgsPortsOnlyTesterBase :: } bool QueuedNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -394,7 +394,7 @@ bool QueuedNoArgsPortsOnlyTesterBase :: } bool QueuedNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -405,7 +405,7 @@ bool QueuedNoArgsPortsOnlyTesterBase :: } bool QueuedNoArgsPortsOnlyTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -454,7 +454,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: void QueuedNoArgsPortsOnlyTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -465,7 +465,7 @@ void QueuedNoArgsPortsOnlyTesterBase :: U32 QueuedNoArgsPortsOnlyTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp index bdeb26214..ffc92369d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp @@ -125,25 +125,25 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); @@ -157,14 +157,14 @@ class QueuedNoArgsPortsOnlyTesterBase : //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -190,12 +190,12 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; protected: @@ -206,12 +206,12 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -222,22 +222,22 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -286,28 +286,28 @@ class QueuedNoArgsPortsOnlyTesterBase : //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -337,13 +337,13 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp index 272311993..2c72a20da 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedParamsTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void QueuedParamsTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void QueuedParamsTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedParamsTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -117,8 +117,8 @@ void QueuedParamsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -141,8 +141,8 @@ void QueuedParamsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -165,8 +165,8 @@ void QueuedParamsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedParamsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -213,8 +213,8 @@ void QueuedParamsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -237,8 +237,8 @@ void QueuedParamsTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -256,8 +256,8 @@ void QueuedParamsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -275,8 +275,8 @@ void QueuedParamsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -294,8 +294,8 @@ void QueuedParamsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -313,8 +313,8 @@ void QueuedParamsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -332,8 +332,8 @@ void QueuedParamsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -351,8 +351,8 @@ void QueuedParamsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -370,8 +370,8 @@ void QueuedParamsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -389,8 +389,8 @@ void QueuedParamsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -408,8 +408,8 @@ void QueuedParamsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -427,8 +427,8 @@ void QueuedParamsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -446,8 +446,8 @@ void QueuedParamsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -465,8 +465,8 @@ void QueuedParamsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -484,8 +484,8 @@ void QueuedParamsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -508,7 +508,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -522,7 +522,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -536,7 +536,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -550,7 +550,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -564,7 +564,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -578,7 +578,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -592,7 +592,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -606,7 +606,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -620,7 +620,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -634,7 +634,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -648,7 +648,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -662,7 +662,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -676,7 +676,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -690,7 +690,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -707,7 +707,7 @@ void QueuedParamsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedParamsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -718,7 +718,7 @@ Fw::InputCmdRegPort* QueuedParamsTesterBase :: } Fw::InputCmdResponsePort* QueuedParamsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -729,7 +729,7 @@ Fw::InputCmdResponsePort* QueuedParamsTesterBase :: } Fw::InputLogPort* QueuedParamsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -740,7 +740,7 @@ Fw::InputLogPort* QueuedParamsTesterBase :: } Fw::InputPrmGetPort* QueuedParamsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -751,7 +751,7 @@ Fw::InputPrmGetPort* QueuedParamsTesterBase :: } Fw::InputPrmSetPort* QueuedParamsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -764,7 +764,7 @@ Fw::InputPrmSetPort* QueuedParamsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedParamsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -777,7 +777,7 @@ Fw::InputLogTextPort* QueuedParamsTesterBase :: #endif Fw::InputTimePort* QueuedParamsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -788,7 +788,7 @@ Fw::InputTimePort* QueuedParamsTesterBase :: } Fw::InputTlmPort* QueuedParamsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -799,7 +799,7 @@ Fw::InputTlmPort* QueuedParamsTesterBase :: } Ports::InputNoArgsPort* QueuedParamsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -810,7 +810,7 @@ Ports::InputNoArgsPort* QueuedParamsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedParamsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -821,7 +821,7 @@ Ports::InputNoArgsReturnPort* QueuedParamsTesterBase :: } Ports::InputTypedPort* QueuedParamsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -832,7 +832,7 @@ Ports::InputTypedPort* QueuedParamsTesterBase :: } Ports::InputTypedReturnPort* QueuedParamsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -886,7 +886,7 @@ QueuedParamsTesterBase :: // ---------------------------------------------------------------------- void QueuedParamsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -897,7 +897,7 @@ void QueuedParamsTesterBase :: } U32 QueuedParamsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -909,7 +909,7 @@ U32 QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -938,7 +938,7 @@ void QueuedParamsTesterBase :: F32 QueuedParamsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -970,7 +970,7 @@ F32 QueuedParamsTesterBase :: // ---------------------------------------------------------------------- void QueuedParamsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -981,7 +981,7 @@ void QueuedParamsTesterBase :: } void QueuedParamsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -992,7 +992,7 @@ void QueuedParamsTesterBase :: } U32 QueuedParamsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1003,7 +1003,7 @@ U32 QueuedParamsTesterBase :: } U32 QueuedParamsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1014,7 +1014,7 @@ U32 QueuedParamsTesterBase :: } void QueuedParamsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1026,7 +1026,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1054,7 +1054,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1082,7 +1082,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1110,7 +1110,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1138,7 +1138,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1166,7 +1166,7 @@ void QueuedParamsTesterBase :: F32 QueuedParamsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1194,7 +1194,7 @@ F32 QueuedParamsTesterBase :: F32 QueuedParamsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1222,7 +1222,7 @@ F32 QueuedParamsTesterBase :: void QueuedParamsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1417,7 +1417,7 @@ NATIVE_INT_TYPE QueuedParamsTesterBase :: // ---------------------------------------------------------------------- bool QueuedParamsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1428,7 +1428,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1439,7 +1439,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1450,7 +1450,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1461,7 +1461,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1472,7 +1472,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1483,7 +1483,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1494,7 +1494,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1505,7 +1505,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1516,7 +1516,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1527,7 +1527,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1538,7 +1538,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1549,7 +1549,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1560,7 +1560,7 @@ bool QueuedParamsTesterBase :: } bool QueuedParamsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2064,7 +2064,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -2074,7 +2074,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -2087,7 +2087,7 @@ void QueuedParamsTesterBase :: Fw::ParamValid QueuedParamsTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -2174,7 +2174,7 @@ Fw::ParamValid QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -2280,7 +2280,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -2291,7 +2291,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2302,7 +2302,7 @@ void QueuedParamsTesterBase :: U32 QueuedParamsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -2313,7 +2313,7 @@ U32 QueuedParamsTesterBase :: void QueuedParamsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -2340,7 +2340,7 @@ void QueuedParamsTesterBase :: F32 QueuedParamsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp index 7cfa4cccd..5b63b7667 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp @@ -154,85 +154,85 @@ class QueuedParamsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -246,35 +246,35 @@ class QueuedParamsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -283,7 +283,7 @@ class QueuedParamsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -292,42 +292,42 @@ class QueuedParamsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -353,17 +353,17 @@ class QueuedParamsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -375,7 +375,7 @@ class QueuedParamsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -393,17 +393,17 @@ class QueuedParamsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -415,7 +415,7 @@ class QueuedParamsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -433,32 +433,32 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -470,7 +470,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -482,7 +482,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -494,7 +494,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -506,7 +506,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -518,7 +518,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -530,7 +530,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -542,7 +542,7 @@ class QueuedParamsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -702,98 +702,98 @@ class QueuedParamsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -990,14 +990,14 @@ class QueuedParamsTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1006,7 +1006,7 @@ class QueuedParamsTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1014,7 +1014,7 @@ class QueuedParamsTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1022,26 +1022,26 @@ class QueuedParamsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1054,7 +1054,7 @@ class QueuedParamsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp index 0fb478c99..a303d866d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedSerialTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void QueuedSerialTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void QueuedSerialTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -93,8 +93,8 @@ void QueuedSerialTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -117,8 +117,8 @@ void QueuedSerialTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -142,8 +142,8 @@ void QueuedSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -167,8 +167,8 @@ void QueuedSerialTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -191,8 +191,8 @@ void QueuedSerialTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -215,8 +215,8 @@ void QueuedSerialTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -239,8 +239,8 @@ void QueuedSerialTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -263,8 +263,8 @@ void QueuedSerialTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -287,8 +287,8 @@ void QueuedSerialTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -311,8 +311,8 @@ void QueuedSerialTesterBase :: // Connect input port serialOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_serialOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_serialOut()); port++ ) { this->m_from_serialOut[port].init(); @@ -335,8 +335,8 @@ void QueuedSerialTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -354,8 +354,8 @@ void QueuedSerialTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -373,8 +373,8 @@ void QueuedSerialTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -392,8 +392,8 @@ void QueuedSerialTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -411,8 +411,8 @@ void QueuedSerialTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -430,8 +430,8 @@ void QueuedSerialTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -449,8 +449,8 @@ void QueuedSerialTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -468,8 +468,8 @@ void QueuedSerialTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -487,8 +487,8 @@ void QueuedSerialTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -506,8 +506,8 @@ void QueuedSerialTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -525,8 +525,8 @@ void QueuedSerialTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -544,8 +544,8 @@ void QueuedSerialTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -563,8 +563,8 @@ void QueuedSerialTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -582,8 +582,8 @@ void QueuedSerialTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -601,8 +601,8 @@ void QueuedSerialTesterBase :: // Connect output port serialAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsync()); port++ ) { this->m_to_serialAsync[port].init(); @@ -620,8 +620,8 @@ void QueuedSerialTesterBase :: // Connect output port serialAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncAssert()); port++ ) { this->m_to_serialAsyncAssert[port].init(); @@ -639,8 +639,8 @@ void QueuedSerialTesterBase :: // Connect output port serialAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncBlockPriority()); port++ ) { this->m_to_serialAsyncBlockPriority[port].init(); @@ -658,8 +658,8 @@ void QueuedSerialTesterBase :: // Connect output port serialAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialAsyncDropPriority()); port++ ) { this->m_to_serialAsyncDropPriority[port].init(); @@ -677,8 +677,8 @@ void QueuedSerialTesterBase :: // Connect output port serialGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialGuarded()); port++ ) { this->m_to_serialGuarded[port].init(); @@ -696,8 +696,8 @@ void QueuedSerialTesterBase :: // Connect output port serialSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_serialSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_serialSync()); port++ ) { this->m_to_serialSync[port].init(); @@ -720,7 +720,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -734,7 +734,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -748,7 +748,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -762,7 +762,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -776,7 +776,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -790,7 +790,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -804,7 +804,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -818,7 +818,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -832,7 +832,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -846,7 +846,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -860,7 +860,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -874,7 +874,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -888,7 +888,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -902,7 +902,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -916,7 +916,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -930,7 +930,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -944,7 +944,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -958,7 +958,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -972,7 +972,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -986,7 +986,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: connect_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputSerializePort* port ) { @@ -1003,7 +1003,7 @@ void QueuedSerialTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedSerialTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -1014,7 +1014,7 @@ Fw::InputCmdRegPort* QueuedSerialTesterBase :: } Fw::InputCmdResponsePort* QueuedSerialTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -1025,7 +1025,7 @@ Fw::InputCmdResponsePort* QueuedSerialTesterBase :: } Fw::InputLogPort* QueuedSerialTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -1036,7 +1036,7 @@ Fw::InputLogPort* QueuedSerialTesterBase :: } Fw::InputPrmGetPort* QueuedSerialTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -1047,7 +1047,7 @@ Fw::InputPrmGetPort* QueuedSerialTesterBase :: } Fw::InputPrmSetPort* QueuedSerialTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -1060,7 +1060,7 @@ Fw::InputPrmSetPort* QueuedSerialTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedSerialTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -1073,7 +1073,7 @@ Fw::InputLogTextPort* QueuedSerialTesterBase :: #endif Fw::InputTimePort* QueuedSerialTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -1084,7 +1084,7 @@ Fw::InputTimePort* QueuedSerialTesterBase :: } Fw::InputTlmPort* QueuedSerialTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -1095,7 +1095,7 @@ Fw::InputTlmPort* QueuedSerialTesterBase :: } Ports::InputNoArgsPort* QueuedSerialTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -1106,7 +1106,7 @@ Ports::InputNoArgsPort* QueuedSerialTesterBase :: } Ports::InputNoArgsReturnPort* QueuedSerialTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -1117,7 +1117,7 @@ Ports::InputNoArgsReturnPort* QueuedSerialTesterBase :: } Ports::InputTypedPort* QueuedSerialTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -1128,7 +1128,7 @@ Ports::InputTypedPort* QueuedSerialTesterBase :: } Ports::InputTypedReturnPort* QueuedSerialTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -1139,7 +1139,7 @@ Ports::InputTypedReturnPort* QueuedSerialTesterBase :: } Fw::InputSerializePort* QueuedSerialTesterBase :: - get_from_serialOut(NATIVE_INT_TYPE portNum) + get_from_serialOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_serialOut(), @@ -1239,7 +1239,7 @@ QueuedSerialTesterBase :: // ---------------------------------------------------------------------- void QueuedSerialTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1250,7 +1250,7 @@ void QueuedSerialTesterBase :: } U32 QueuedSerialTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1262,7 +1262,7 @@ U32 QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1291,7 +1291,7 @@ void QueuedSerialTesterBase :: F32 QueuedSerialTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1320,7 +1320,7 @@ F32 QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1340,7 +1340,7 @@ void QueuedSerialTesterBase :: // ---------------------------------------------------------------------- void QueuedSerialTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1351,7 +1351,7 @@ void QueuedSerialTesterBase :: } void QueuedSerialTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1362,7 +1362,7 @@ void QueuedSerialTesterBase :: } U32 QueuedSerialTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1373,7 +1373,7 @@ U32 QueuedSerialTesterBase :: } U32 QueuedSerialTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1384,7 +1384,7 @@ U32 QueuedSerialTesterBase :: } void QueuedSerialTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1396,7 +1396,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1424,7 +1424,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1452,7 +1452,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1480,7 +1480,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1508,7 +1508,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1536,7 +1536,7 @@ void QueuedSerialTesterBase :: F32 QueuedSerialTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1564,7 +1564,7 @@ F32 QueuedSerialTesterBase :: F32 QueuedSerialTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1592,7 +1592,7 @@ F32 QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1620,7 +1620,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1636,7 +1636,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1652,7 +1652,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1668,7 +1668,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1684,7 +1684,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1700,7 +1700,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: invoke_to_serialSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { @@ -1925,7 +1925,7 @@ NATIVE_INT_TYPE QueuedSerialTesterBase :: // ---------------------------------------------------------------------- bool QueuedSerialTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1936,7 +1936,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1947,7 +1947,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1958,7 +1958,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1969,7 +1969,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1980,7 +1980,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1991,7 +1991,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -2002,7 +2002,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -2013,7 +2013,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -2024,7 +2024,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -2035,7 +2035,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -2046,7 +2046,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -2057,7 +2057,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -2068,7 +2068,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -2079,7 +2079,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialAsync(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsync(), @@ -2090,7 +2090,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncAssert(), @@ -2101,7 +2101,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncBlockPriority(), @@ -2112,7 +2112,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_serialAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialAsyncDropPriority(), @@ -2123,7 +2123,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_serialGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialGuarded(), @@ -2134,7 +2134,7 @@ bool QueuedSerialTesterBase :: } bool QueuedSerialTesterBase :: - isConnected_to_serialSync(NATIVE_INT_TYPE portNum) + isConnected_to_serialSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_serialSync(), @@ -4002,7 +4002,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -4012,7 +4012,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -4025,7 +4025,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4039,7 +4039,7 @@ void QueuedSerialTesterBase :: Fw::ParamValid QueuedSerialTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -4126,7 +4126,7 @@ Fw::ParamValid QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -4234,7 +4234,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4250,7 +4250,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -4261,7 +4261,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -4274,7 +4274,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4285,7 +4285,7 @@ void QueuedSerialTesterBase :: U32 QueuedSerialTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4296,7 +4296,7 @@ U32 QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4323,7 +4323,7 @@ void QueuedSerialTesterBase :: F32 QueuedSerialTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4350,7 +4350,7 @@ F32 QueuedSerialTesterBase :: void QueuedSerialTesterBase :: from_serialOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp index 090d4fc35..b4afdf224 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp @@ -260,121 +260,121 @@ class QueuedSerialTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to serialAsync[portNum] void connect_to_serialAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncAssert[portNum] void connect_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncBlockPriority[portNum] void connect_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialAsyncDropPriority[portNum] void connect_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialGuarded[portNum] void connect_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); //! Connect port to serialSync[portNum] void connect_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputSerializePort* port //!< The input port ); @@ -388,35 +388,35 @@ class QueuedSerialTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -425,7 +425,7 @@ class QueuedSerialTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -434,49 +434,49 @@ class QueuedSerialTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_serialOut[portNum] Fw::InputSerializePort* get_from_serialOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -502,17 +502,17 @@ class QueuedSerialTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -524,7 +524,7 @@ class QueuedSerialTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -536,7 +536,7 @@ class QueuedSerialTesterBase : //! Handler for input port from_serialOut virtual void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ) = 0; @@ -548,17 +548,17 @@ class QueuedSerialTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -570,7 +570,7 @@ class QueuedSerialTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -582,7 +582,7 @@ class QueuedSerialTesterBase : //! Handler base-class function for from_serialOut void from_serialOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -594,32 +594,32 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -631,7 +631,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -643,7 +643,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -655,7 +655,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -667,7 +667,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -679,7 +679,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -691,7 +691,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -703,7 +703,7 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -715,37 +715,37 @@ class QueuedSerialTesterBase : //! Invoke the to port connected to serialAsync void invoke_to_serialAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncAssert void invoke_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncBlockPriority void invoke_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialAsyncDropPriority void invoke_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialGuarded void invoke_to_serialGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); //! Invoke the to port connected to serialSync void invoke_to_serialSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); @@ -934,140 +934,140 @@ class QueuedSerialTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsync is connected //! //! \return Whether port to_serialAsync is connected bool isConnected_to_serialAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncAssert is connected //! //! \return Whether port to_serialAsyncAssert is connected bool isConnected_to_serialAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncBlockPriority is connected //! //! \return Whether port to_serialAsyncBlockPriority is connected bool isConnected_to_serialAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialAsyncDropPriority is connected //! //! \return Whether port to_serialAsyncDropPriority is connected bool isConnected_to_serialAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialGuarded is connected //! //! \return Whether port to_serialGuarded is connected bool isConnected_to_serialGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_serialSync is connected //! //! \return Whether port to_serialSync is connected bool isConnected_to_serialSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1542,14 +1542,14 @@ class QueuedSerialTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1558,7 +1558,7 @@ class QueuedSerialTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1568,7 +1568,7 @@ class QueuedSerialTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1576,7 +1576,7 @@ class QueuedSerialTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1586,7 +1586,7 @@ class QueuedSerialTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1598,14 +1598,14 @@ class QueuedSerialTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1614,19 +1614,19 @@ class QueuedSerialTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1639,7 +1639,7 @@ class QueuedSerialTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1652,7 +1652,7 @@ class QueuedSerialTesterBase : //! Static function for port from_serialOut static void from_serialOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp index c10ce7f65..e29d52f8c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -45,8 +45,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -69,8 +69,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -93,8 +93,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -117,8 +117,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -141,8 +141,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -165,8 +165,8 @@ void QueuedSyncProductsTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -189,8 +189,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -208,8 +208,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -227,8 +227,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -246,8 +246,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -265,8 +265,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -284,8 +284,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -303,8 +303,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -322,8 +322,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -341,8 +341,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -360,8 +360,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -379,8 +379,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -398,8 +398,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -417,8 +417,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -436,8 +436,8 @@ void QueuedSyncProductsTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -460,7 +460,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -474,7 +474,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -488,7 +488,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -502,7 +502,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -516,7 +516,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -530,7 +530,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -544,7 +544,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -558,7 +558,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -572,7 +572,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -586,7 +586,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -600,7 +600,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -614,7 +614,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -628,7 +628,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -642,7 +642,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -656,7 +656,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -673,7 +673,7 @@ void QueuedSyncProductsTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedSyncProductsTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -684,7 +684,7 @@ Fw::InputCmdRegPort* QueuedSyncProductsTesterBase :: } Fw::InputCmdResponsePort* QueuedSyncProductsTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -695,7 +695,7 @@ Fw::InputCmdResponsePort* QueuedSyncProductsTesterBase :: } Fw::InputLogPort* QueuedSyncProductsTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -706,7 +706,7 @@ Fw::InputLogPort* QueuedSyncProductsTesterBase :: } Fw::InputPrmGetPort* QueuedSyncProductsTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -717,7 +717,7 @@ Fw::InputPrmGetPort* QueuedSyncProductsTesterBase :: } Fw::InputPrmSetPort* QueuedSyncProductsTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -728,7 +728,7 @@ Fw::InputPrmSetPort* QueuedSyncProductsTesterBase :: } Fw::InputDpRequestPort* QueuedSyncProductsTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -739,7 +739,7 @@ Fw::InputDpRequestPort* QueuedSyncProductsTesterBase :: } Fw::InputDpSendPort* QueuedSyncProductsTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -752,7 +752,7 @@ Fw::InputDpSendPort* QueuedSyncProductsTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedSyncProductsTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -765,7 +765,7 @@ Fw::InputLogTextPort* QueuedSyncProductsTesterBase :: #endif Fw::InputTimePort* QueuedSyncProductsTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -776,7 +776,7 @@ Fw::InputTimePort* QueuedSyncProductsTesterBase :: } Fw::InputTlmPort* QueuedSyncProductsTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -787,7 +787,7 @@ Fw::InputTlmPort* QueuedSyncProductsTesterBase :: } Ports::InputNoArgsPort* QueuedSyncProductsTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -798,7 +798,7 @@ Ports::InputNoArgsPort* QueuedSyncProductsTesterBase :: } Ports::InputNoArgsReturnPort* QueuedSyncProductsTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -809,7 +809,7 @@ Ports::InputNoArgsReturnPort* QueuedSyncProductsTesterBase :: } Ports::InputTypedPort* QueuedSyncProductsTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -820,7 +820,7 @@ Ports::InputTypedPort* QueuedSyncProductsTesterBase :: } Ports::InputTypedReturnPort* QueuedSyncProductsTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -870,7 +870,7 @@ QueuedSyncProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedSyncProductsTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -881,7 +881,7 @@ void QueuedSyncProductsTesterBase :: } U32 QueuedSyncProductsTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -893,7 +893,7 @@ U32 QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -922,7 +922,7 @@ void QueuedSyncProductsTesterBase :: F32 QueuedSyncProductsTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -954,7 +954,7 @@ F32 QueuedSyncProductsTesterBase :: // ---------------------------------------------------------------------- void QueuedSyncProductsTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -965,7 +965,7 @@ void QueuedSyncProductsTesterBase :: } void QueuedSyncProductsTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -976,7 +976,7 @@ void QueuedSyncProductsTesterBase :: } U32 QueuedSyncProductsTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -987,7 +987,7 @@ U32 QueuedSyncProductsTesterBase :: } U32 QueuedSyncProductsTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -998,7 +998,7 @@ U32 QueuedSyncProductsTesterBase :: } void QueuedSyncProductsTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1010,7 +1010,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1038,7 +1038,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1066,7 +1066,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1094,7 +1094,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1122,7 +1122,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1150,7 +1150,7 @@ void QueuedSyncProductsTesterBase :: F32 QueuedSyncProductsTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1178,7 +1178,7 @@ F32 QueuedSyncProductsTesterBase :: F32 QueuedSyncProductsTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1206,7 +1206,7 @@ F32 QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1419,7 +1419,7 @@ NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: // ---------------------------------------------------------------------- bool QueuedSyncProductsTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1430,7 +1430,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1441,7 +1441,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1452,7 +1452,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1463,7 +1463,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1474,7 +1474,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1485,7 +1485,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1496,7 +1496,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1507,7 +1507,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1518,7 +1518,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1529,7 +1529,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1540,7 +1540,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1551,7 +1551,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1562,7 +1562,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1573,7 +1573,7 @@ bool QueuedSyncProductsTesterBase :: } bool QueuedSyncProductsTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1738,7 +1738,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -1750,7 +1750,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -1762,7 +1762,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1773,7 +1773,7 @@ void QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1784,7 +1784,7 @@ void QueuedSyncProductsTesterBase :: U32 QueuedSyncProductsTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1795,7 +1795,7 @@ U32 QueuedSyncProductsTesterBase :: void QueuedSyncProductsTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1822,7 +1822,7 @@ void QueuedSyncProductsTesterBase :: F32 QueuedSyncProductsTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp index 642c3f36d..ad73aca19 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp @@ -160,91 +160,91 @@ class QueuedSyncProductsTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -258,49 +258,49 @@ class QueuedSyncProductsTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -309,7 +309,7 @@ class QueuedSyncProductsTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -318,42 +318,42 @@ class QueuedSyncProductsTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -379,17 +379,17 @@ class QueuedSyncProductsTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -401,7 +401,7 @@ class QueuedSyncProductsTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -419,17 +419,17 @@ class QueuedSyncProductsTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -441,7 +441,7 @@ class QueuedSyncProductsTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -459,32 +459,32 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -496,7 +496,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -508,7 +508,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -520,7 +520,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,7 +532,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -544,7 +544,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -556,7 +556,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -568,7 +568,7 @@ class QueuedSyncProductsTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -743,105 +743,105 @@ class QueuedSyncProductsTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -947,7 +947,7 @@ class QueuedSyncProductsTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -955,7 +955,7 @@ class QueuedSyncProductsTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -963,26 +963,26 @@ class QueuedSyncProductsTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -995,7 +995,7 @@ class QueuedSyncProductsTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp index 04ee1e982..7173579d4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedTelemetryTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -45,8 +45,8 @@ void QueuedTelemetryTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -69,8 +69,8 @@ void QueuedTelemetryTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -93,8 +93,8 @@ void QueuedTelemetryTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -117,8 +117,8 @@ void QueuedTelemetryTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -141,8 +141,8 @@ void QueuedTelemetryTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -165,8 +165,8 @@ void QueuedTelemetryTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -184,8 +184,8 @@ void QueuedTelemetryTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -203,8 +203,8 @@ void QueuedTelemetryTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -222,8 +222,8 @@ void QueuedTelemetryTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -241,8 +241,8 @@ void QueuedTelemetryTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -260,8 +260,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -279,8 +279,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -298,8 +298,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -317,8 +317,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -336,8 +336,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -355,8 +355,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -374,8 +374,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -393,8 +393,8 @@ void QueuedTelemetryTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -417,7 +417,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -431,7 +431,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -445,7 +445,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -459,7 +459,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -473,7 +473,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -487,7 +487,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -501,7 +501,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -515,7 +515,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -529,7 +529,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -543,7 +543,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -557,7 +557,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -571,7 +571,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -585,7 +585,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -599,7 +599,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -616,7 +616,7 @@ void QueuedTelemetryTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedTelemetryTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -627,7 +627,7 @@ Fw::InputCmdRegPort* QueuedTelemetryTesterBase :: } Fw::InputCmdResponsePort* QueuedTelemetryTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -638,7 +638,7 @@ Fw::InputCmdResponsePort* QueuedTelemetryTesterBase :: } Fw::InputLogPort* QueuedTelemetryTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -649,7 +649,7 @@ Fw::InputLogPort* QueuedTelemetryTesterBase :: } Fw::InputPrmGetPort* QueuedTelemetryTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -660,7 +660,7 @@ Fw::InputPrmGetPort* QueuedTelemetryTesterBase :: } Fw::InputPrmSetPort* QueuedTelemetryTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -673,7 +673,7 @@ Fw::InputPrmSetPort* QueuedTelemetryTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedTelemetryTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -686,7 +686,7 @@ Fw::InputLogTextPort* QueuedTelemetryTesterBase :: #endif Fw::InputTimePort* QueuedTelemetryTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -697,7 +697,7 @@ Fw::InputTimePort* QueuedTelemetryTesterBase :: } Fw::InputTlmPort* QueuedTelemetryTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -708,7 +708,7 @@ Fw::InputTlmPort* QueuedTelemetryTesterBase :: } Ports::InputNoArgsPort* QueuedTelemetryTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -719,7 +719,7 @@ Ports::InputNoArgsPort* QueuedTelemetryTesterBase :: } Ports::InputNoArgsReturnPort* QueuedTelemetryTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -730,7 +730,7 @@ Ports::InputNoArgsReturnPort* QueuedTelemetryTesterBase :: } Ports::InputTypedPort* QueuedTelemetryTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -741,7 +741,7 @@ Ports::InputTypedPort* QueuedTelemetryTesterBase :: } Ports::InputTypedReturnPort* QueuedTelemetryTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -809,7 +809,7 @@ QueuedTelemetryTesterBase :: // ---------------------------------------------------------------------- void QueuedTelemetryTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -820,7 +820,7 @@ void QueuedTelemetryTesterBase :: } U32 QueuedTelemetryTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -832,7 +832,7 @@ U32 QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -861,7 +861,7 @@ void QueuedTelemetryTesterBase :: F32 QueuedTelemetryTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -893,7 +893,7 @@ F32 QueuedTelemetryTesterBase :: // ---------------------------------------------------------------------- void QueuedTelemetryTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -904,7 +904,7 @@ void QueuedTelemetryTesterBase :: } void QueuedTelemetryTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -915,7 +915,7 @@ void QueuedTelemetryTesterBase :: } U32 QueuedTelemetryTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -926,7 +926,7 @@ U32 QueuedTelemetryTesterBase :: } U32 QueuedTelemetryTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -937,7 +937,7 @@ U32 QueuedTelemetryTesterBase :: } void QueuedTelemetryTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -949,7 +949,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -977,7 +977,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1005,7 +1005,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1033,7 +1033,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1061,7 +1061,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1089,7 +1089,7 @@ void QueuedTelemetryTesterBase :: F32 QueuedTelemetryTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1117,7 +1117,7 @@ F32 QueuedTelemetryTesterBase :: F32 QueuedTelemetryTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1145,7 +1145,7 @@ F32 QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1340,7 +1340,7 @@ NATIVE_INT_TYPE QueuedTelemetryTesterBase :: // ---------------------------------------------------------------------- bool QueuedTelemetryTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1351,7 +1351,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1362,7 +1362,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1373,7 +1373,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1384,7 +1384,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1395,7 +1395,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1406,7 +1406,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1417,7 +1417,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1428,7 +1428,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1439,7 +1439,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1450,7 +1450,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1461,7 +1461,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1472,7 +1472,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1483,7 +1483,7 @@ bool QueuedTelemetryTesterBase :: } bool QueuedTelemetryTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -1898,7 +1898,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -1909,7 +1909,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -1922,7 +1922,7 @@ void QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1933,7 +1933,7 @@ void QueuedTelemetryTesterBase :: U32 QueuedTelemetryTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -1944,7 +1944,7 @@ U32 QueuedTelemetryTesterBase :: void QueuedTelemetryTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1971,7 +1971,7 @@ void QueuedTelemetryTesterBase :: F32 QueuedTelemetryTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp index a888ac773..1cb82fa7a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp @@ -213,85 +213,85 @@ class QueuedTelemetryTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -305,35 +305,35 @@ class QueuedTelemetryTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -342,7 +342,7 @@ class QueuedTelemetryTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -351,42 +351,42 @@ class QueuedTelemetryTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -412,17 +412,17 @@ class QueuedTelemetryTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -434,7 +434,7 @@ class QueuedTelemetryTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -452,17 +452,17 @@ class QueuedTelemetryTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -474,7 +474,7 @@ class QueuedTelemetryTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -492,32 +492,32 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -529,7 +529,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -541,7 +541,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -553,7 +553,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -565,7 +565,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -577,7 +577,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -589,7 +589,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -601,7 +601,7 @@ class QueuedTelemetryTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -761,98 +761,98 @@ class QueuedTelemetryTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -997,14 +997,14 @@ class QueuedTelemetryTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1013,19 +1013,19 @@ class QueuedTelemetryTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1038,7 +1038,7 @@ class QueuedTelemetryTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp index 735734a52..3d417e029 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp @@ -21,8 +21,8 @@ void QueuedTestTesterBase :: // Connect input port cmdRegOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdRegOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdRegOut()); port++ ) { this->m_from_cmdRegOut[port].init(); @@ -45,8 +45,8 @@ void QueuedTestTesterBase :: // Connect input port cmdResponseOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_cmdResponseOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_cmdResponseOut()); port++ ) { this->m_from_cmdResponseOut[port].init(); @@ -69,8 +69,8 @@ void QueuedTestTesterBase :: // Connect input port eventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_eventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_eventOut()); port++ ) { this->m_from_eventOut[port].init(); @@ -93,8 +93,8 @@ void QueuedTestTesterBase :: // Connect input port prmGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmGetOut()); port++ ) { this->m_from_prmGetOut[port].init(); @@ -117,8 +117,8 @@ void QueuedTestTesterBase :: // Connect input port prmSetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_prmSetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_prmSetOut()); port++ ) { this->m_from_prmSetOut[port].init(); @@ -141,8 +141,8 @@ void QueuedTestTesterBase :: // Connect input port productRequestOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productRequestOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productRequestOut()); port++ ) { this->m_from_productRequestOut[port].init(); @@ -165,8 +165,8 @@ void QueuedTestTesterBase :: // Connect input port productSendOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_productSendOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_productSendOut()); port++ ) { this->m_from_productSendOut[port].init(); @@ -190,8 +190,8 @@ void QueuedTestTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 // Connect input port textEventOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_textEventOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_textEventOut()); port++ ) { this->m_from_textEventOut[port].init(); @@ -215,8 +215,8 @@ void QueuedTestTesterBase :: // Connect input port timeGetOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_timeGetOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_timeGetOut()); port++ ) { this->m_from_timeGetOut[port].init(); @@ -239,8 +239,8 @@ void QueuedTestTesterBase :: // Connect input port tlmOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_tlmOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_tlmOut()); port++ ) { this->m_from_tlmOut[port].init(); @@ -263,8 +263,8 @@ void QueuedTestTesterBase :: // Connect input port noArgsOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsOut()); port++ ) { this->m_from_noArgsOut[port].init(); @@ -287,8 +287,8 @@ void QueuedTestTesterBase :: // Connect input port noArgsReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_noArgsReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_noArgsReturnOut()); port++ ) { this->m_from_noArgsReturnOut[port].init(); @@ -311,8 +311,8 @@ void QueuedTestTesterBase :: // Connect input port typedOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedOut()); port++ ) { this->m_from_typedOut[port].init(); @@ -335,8 +335,8 @@ void QueuedTestTesterBase :: // Connect input port typedReturnOut for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_from_typedReturnOut()); + FwIndexType port = 0; + port < static_cast(this->getNum_from_typedReturnOut()); port++ ) { this->m_from_typedReturnOut[port].init(); @@ -359,8 +359,8 @@ void QueuedTestTesterBase :: // Connect output port cmdIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_cmdIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_cmdIn()); port++ ) { this->m_to_cmdIn[port].init(); @@ -378,8 +378,8 @@ void QueuedTestTesterBase :: // Connect output port productRecvIn for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_productRecvIn()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_productRecvIn()); port++ ) { this->m_to_productRecvIn[port].init(); @@ -397,8 +397,8 @@ void QueuedTestTesterBase :: // Connect output port noArgsAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsAsync()); port++ ) { this->m_to_noArgsAsync[port].init(); @@ -416,8 +416,8 @@ void QueuedTestTesterBase :: // Connect output port noArgsGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsGuarded()); port++ ) { this->m_to_noArgsGuarded[port].init(); @@ -435,8 +435,8 @@ void QueuedTestTesterBase :: // Connect output port noArgsReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnGuarded()); port++ ) { this->m_to_noArgsReturnGuarded[port].init(); @@ -454,8 +454,8 @@ void QueuedTestTesterBase :: // Connect output port noArgsReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsReturnSync()); port++ ) { this->m_to_noArgsReturnSync[port].init(); @@ -473,8 +473,8 @@ void QueuedTestTesterBase :: // Connect output port noArgsSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_noArgsSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_noArgsSync()); port++ ) { this->m_to_noArgsSync[port].init(); @@ -492,8 +492,8 @@ void QueuedTestTesterBase :: // Connect output port typedAsync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsync()); port++ ) { this->m_to_typedAsync[port].init(); @@ -511,8 +511,8 @@ void QueuedTestTesterBase :: // Connect output port typedAsyncAssert for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncAssert()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncAssert()); port++ ) { this->m_to_typedAsyncAssert[port].init(); @@ -530,8 +530,8 @@ void QueuedTestTesterBase :: // Connect output port typedAsyncBlockPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncBlockPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncBlockPriority()); port++ ) { this->m_to_typedAsyncBlockPriority[port].init(); @@ -549,8 +549,8 @@ void QueuedTestTesterBase :: // Connect output port typedAsyncDropPriority for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedAsyncDropPriority()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedAsyncDropPriority()); port++ ) { this->m_to_typedAsyncDropPriority[port].init(); @@ -568,8 +568,8 @@ void QueuedTestTesterBase :: // Connect output port typedGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedGuarded()); port++ ) { this->m_to_typedGuarded[port].init(); @@ -587,8 +587,8 @@ void QueuedTestTesterBase :: // Connect output port typedReturnGuarded for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnGuarded()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnGuarded()); port++ ) { this->m_to_typedReturnGuarded[port].init(); @@ -606,8 +606,8 @@ void QueuedTestTesterBase :: // Connect output port typedReturnSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedReturnSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedReturnSync()); port++ ) { this->m_to_typedReturnSync[port].init(); @@ -625,8 +625,8 @@ void QueuedTestTesterBase :: // Connect output port typedSync for ( - PlatformIntType port = 0; - port < static_cast(this->getNum_to_typedSync()); + FwIndexType port = 0; + port < static_cast(this->getNum_to_typedSync()); port++ ) { this->m_to_typedSync[port].init(); @@ -649,7 +649,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_cmdIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputCmdPort* port ) { @@ -663,7 +663,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::InputDpResponsePort* port ) { @@ -677,7 +677,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -691,7 +691,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -705,7 +705,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -719,7 +719,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsReturnPort* port ) { @@ -733,7 +733,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputNoArgsPort* port ) { @@ -747,7 +747,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -761,7 +761,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -775,7 +775,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -789,7 +789,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -803,7 +803,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -817,7 +817,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -831,7 +831,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedReturnPort* port ) { @@ -845,7 +845,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: connect_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Ports::InputTypedPort* port ) { @@ -862,7 +862,7 @@ void QueuedTestTesterBase :: // ---------------------------------------------------------------------- Fw::InputCmdRegPort* QueuedTestTesterBase :: - get_from_cmdRegOut(NATIVE_INT_TYPE portNum) + get_from_cmdRegOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdRegOut(), @@ -873,7 +873,7 @@ Fw::InputCmdRegPort* QueuedTestTesterBase :: } Fw::InputCmdResponsePort* QueuedTestTesterBase :: - get_from_cmdResponseOut(NATIVE_INT_TYPE portNum) + get_from_cmdResponseOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_cmdResponseOut(), @@ -884,7 +884,7 @@ Fw::InputCmdResponsePort* QueuedTestTesterBase :: } Fw::InputLogPort* QueuedTestTesterBase :: - get_from_eventOut(NATIVE_INT_TYPE portNum) + get_from_eventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_eventOut(), @@ -895,7 +895,7 @@ Fw::InputLogPort* QueuedTestTesterBase :: } Fw::InputPrmGetPort* QueuedTestTesterBase :: - get_from_prmGetOut(NATIVE_INT_TYPE portNum) + get_from_prmGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmGetOut(), @@ -906,7 +906,7 @@ Fw::InputPrmGetPort* QueuedTestTesterBase :: } Fw::InputPrmSetPort* QueuedTestTesterBase :: - get_from_prmSetOut(NATIVE_INT_TYPE portNum) + get_from_prmSetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_prmSetOut(), @@ -917,7 +917,7 @@ Fw::InputPrmSetPort* QueuedTestTesterBase :: } Fw::InputDpRequestPort* QueuedTestTesterBase :: - get_from_productRequestOut(NATIVE_INT_TYPE portNum) + get_from_productRequestOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productRequestOut(), @@ -928,7 +928,7 @@ Fw::InputDpRequestPort* QueuedTestTesterBase :: } Fw::InputDpSendPort* QueuedTestTesterBase :: - get_from_productSendOut(NATIVE_INT_TYPE portNum) + get_from_productSendOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_productSendOut(), @@ -941,7 +941,7 @@ Fw::InputDpSendPort* QueuedTestTesterBase :: #if FW_ENABLE_TEXT_LOGGING == 1 Fw::InputLogTextPort* QueuedTestTesterBase :: - get_from_textEventOut(NATIVE_INT_TYPE portNum) + get_from_textEventOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_textEventOut(), @@ -954,7 +954,7 @@ Fw::InputLogTextPort* QueuedTestTesterBase :: #endif Fw::InputTimePort* QueuedTestTesterBase :: - get_from_timeGetOut(NATIVE_INT_TYPE portNum) + get_from_timeGetOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_timeGetOut(), @@ -965,7 +965,7 @@ Fw::InputTimePort* QueuedTestTesterBase :: } Fw::InputTlmPort* QueuedTestTesterBase :: - get_from_tlmOut(NATIVE_INT_TYPE portNum) + get_from_tlmOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_tlmOut(), @@ -976,7 +976,7 @@ Fw::InputTlmPort* QueuedTestTesterBase :: } Ports::InputNoArgsPort* QueuedTestTesterBase :: - get_from_noArgsOut(NATIVE_INT_TYPE portNum) + get_from_noArgsOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsOut(), @@ -987,7 +987,7 @@ Ports::InputNoArgsPort* QueuedTestTesterBase :: } Ports::InputNoArgsReturnPort* QueuedTestTesterBase :: - get_from_noArgsReturnOut(NATIVE_INT_TYPE portNum) + get_from_noArgsReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_noArgsReturnOut(), @@ -998,7 +998,7 @@ Ports::InputNoArgsReturnPort* QueuedTestTesterBase :: } Ports::InputTypedPort* QueuedTestTesterBase :: - get_from_typedOut(NATIVE_INT_TYPE portNum) + get_from_typedOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedOut(), @@ -1009,7 +1009,7 @@ Ports::InputTypedPort* QueuedTestTesterBase :: } Ports::InputTypedReturnPort* QueuedTestTesterBase :: - get_from_typedReturnOut(NATIVE_INT_TYPE portNum) + get_from_typedReturnOut(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_from_typedReturnOut(), @@ -1117,7 +1117,7 @@ QueuedTestTesterBase :: // ---------------------------------------------------------------------- void QueuedTestTesterBase :: - from_noArgsOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1128,7 +1128,7 @@ void QueuedTestTesterBase :: } U32 QueuedTestTesterBase :: - from_noArgsReturnOut_handlerBase(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handlerBase(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1140,7 +1140,7 @@ U32 QueuedTestTesterBase :: void QueuedTestTesterBase :: from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1169,7 +1169,7 @@ void QueuedTestTesterBase :: F32 QueuedTestTesterBase :: from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1201,7 +1201,7 @@ F32 QueuedTestTesterBase :: // ---------------------------------------------------------------------- void QueuedTestTesterBase :: - invoke_to_noArgsAsync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsAsync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1212,7 +1212,7 @@ void QueuedTestTesterBase :: } void QueuedTestTesterBase :: - invoke_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1223,7 +1223,7 @@ void QueuedTestTesterBase :: } U32 QueuedTestTesterBase :: - invoke_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnGuarded(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1234,7 +1234,7 @@ U32 QueuedTestTesterBase :: } U32 QueuedTestTesterBase :: - invoke_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsReturnSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1245,7 +1245,7 @@ U32 QueuedTestTesterBase :: } void QueuedTestTesterBase :: - invoke_to_noArgsSync(NATIVE_INT_TYPE portNum) + invoke_to_noArgsSync(FwIndexType portNum) { // Make sure port number is valid FW_ASSERT( @@ -1257,7 +1257,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1285,7 +1285,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1313,7 +1313,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1341,7 +1341,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1369,7 +1369,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1397,7 +1397,7 @@ void QueuedTestTesterBase :: F32 QueuedTestTesterBase :: invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1425,7 +1425,7 @@ F32 QueuedTestTesterBase :: F32 QueuedTestTesterBase :: invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1453,7 +1453,7 @@ F32 QueuedTestTesterBase :: void QueuedTestTesterBase :: invoke_to_typedSync( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -1666,7 +1666,7 @@ NATIVE_INT_TYPE QueuedTestTesterBase :: // ---------------------------------------------------------------------- bool QueuedTestTesterBase :: - isConnected_to_cmdIn(NATIVE_INT_TYPE portNum) + isConnected_to_cmdIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_cmdIn(), @@ -1677,7 +1677,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_productRecvIn(NATIVE_INT_TYPE portNum) + isConnected_to_productRecvIn(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_productRecvIn(), @@ -1688,7 +1688,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_noArgsAsync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsAsync(), @@ -1699,7 +1699,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_noArgsGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsGuarded(), @@ -1710,7 +1710,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_noArgsReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnGuarded(), @@ -1721,7 +1721,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_noArgsReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsReturnSync(), @@ -1732,7 +1732,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_noArgsSync(NATIVE_INT_TYPE portNum) + isConnected_to_noArgsSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_noArgsSync(), @@ -1743,7 +1743,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedAsync(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsync(), @@ -1754,7 +1754,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedAsyncAssert(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncAssert(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncAssert(), @@ -1765,7 +1765,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedAsyncBlockPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncBlockPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncBlockPriority(), @@ -1776,7 +1776,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedAsyncDropPriority(NATIVE_INT_TYPE portNum) + isConnected_to_typedAsyncDropPriority(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedAsyncDropPriority(), @@ -1787,7 +1787,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedGuarded(), @@ -1798,7 +1798,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedReturnGuarded(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnGuarded(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnGuarded(), @@ -1809,7 +1809,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedReturnSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedReturnSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedReturnSync(), @@ -1820,7 +1820,7 @@ bool QueuedTestTesterBase :: } bool QueuedTestTesterBase :: - isConnected_to_typedSync(NATIVE_INT_TYPE portNum) + isConnected_to_typedSync(FwIndexType portNum) { FW_ASSERT( portNum < this->getNum_to_typedSync(), @@ -3744,7 +3744,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode ) { @@ -3754,7 +3754,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response @@ -3767,7 +3767,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_eventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -3781,7 +3781,7 @@ void QueuedTestTesterBase :: Fw::ParamValid QueuedTestTesterBase :: from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3868,7 +3868,7 @@ Fw::ParamValid QueuedTestTesterBase :: void QueuedTestTesterBase :: from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwPrmIdType id, Fw::ParamBuffer& val ) @@ -3974,7 +3974,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, FwSizeType dataSize ) @@ -3986,7 +3986,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_productSendOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwDpIdType id, const Fw::Buffer& buffer ) @@ -4000,7 +4000,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_textEventOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwEventIdType id, Fw::Time& timeTag, const Fw::LogSeverity& severity, @@ -4016,7 +4016,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::Time& time ) { @@ -4027,7 +4027,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_tlmOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwChanIdType id, Fw::Time& timeTag, Fw::TlmBuffer& val @@ -4040,7 +4040,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4051,7 +4051,7 @@ void QueuedTestTesterBase :: U32 QueuedTestTesterBase :: from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ) { FW_ASSERT(callComp != nullptr); @@ -4062,7 +4062,7 @@ U32 QueuedTestTesterBase :: void QueuedTestTesterBase :: from_typedOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -4089,7 +4089,7 @@ void QueuedTestTesterBase :: F32 QueuedTestTesterBase :: from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp index 99ab7197b..b9fc5fbb6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp @@ -273,91 +273,91 @@ class QueuedTestTesterBase : //! Connect port to cmdIn[portNum] void connect_to_cmdIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputCmdPort* port //!< The input port ); //! Connect port to productRecvIn[portNum] void connect_to_productRecvIn( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::InputDpResponsePort* port //!< The input port ); //! Connect port to noArgsAsync[portNum] void connect_to_noArgsAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsGuarded[portNum] void connect_to_noArgsGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to noArgsReturnGuarded[portNum] void connect_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsReturnSync[portNum] void connect_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsReturnPort* port //!< The input port ); //! Connect port to noArgsSync[portNum] void connect_to_noArgsSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputNoArgsPort* port //!< The input port ); //! Connect port to typedAsync[portNum] void connect_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncAssert[portNum] void connect_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncBlockPriority[portNum] void connect_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedAsyncDropPriority[portNum] void connect_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedGuarded[portNum] void connect_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); //! Connect port to typedReturnGuarded[portNum] void connect_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedReturnSync[portNum] void connect_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedReturnPort* port //!< The input port ); //! Connect port to typedSync[portNum] void connect_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Ports::InputTypedPort* port //!< The input port ); @@ -371,49 +371,49 @@ class QueuedTestTesterBase : //! //! \return from_cmdRegOut[portNum] Fw::InputCmdRegPort* get_from_cmdRegOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_cmdResponseOut[portNum] Fw::InputCmdResponsePort* get_from_cmdResponseOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_eventOut[portNum] Fw::InputLogPort* get_from_eventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmGetOut[portNum] Fw::InputPrmGetPort* get_from_prmGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_prmSetOut[portNum] Fw::InputPrmSetPort* get_from_prmSetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productRequestOut[portNum] Fw::InputDpRequestPort* get_from_productRequestOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_productSendOut[portNum] Fw::InputDpSendPort* get_from_productSendOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #if FW_ENABLE_TEXT_LOGGING == 1 @@ -422,7 +422,7 @@ class QueuedTestTesterBase : //! //! \return from_textEventOut[portNum] Fw::InputLogTextPort* get_from_textEventOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); #endif @@ -431,42 +431,42 @@ class QueuedTestTesterBase : //! //! \return from_timeGetOut[portNum] Fw::InputTimePort* get_from_timeGetOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_tlmOut[portNum] Fw::InputTlmPort* get_from_tlmOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsOut[portNum] Ports::InputNoArgsPort* get_from_noArgsOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_noArgsReturnOut[portNum] Ports::InputNoArgsReturnPort* get_from_noArgsReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedOut[portNum] Ports::InputTypedPort* get_from_typedOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Get from port at index //! //! \return from_typedReturnOut[portNum] Ports::InputTypedReturnPort* get_from_typedReturnOut( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -492,17 +492,17 @@ class QueuedTestTesterBase : //! Handler for input port from_noArgsOut virtual void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_noArgsReturnOut virtual U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ) = 0; //! Handler for input port from_typedOut virtual void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -514,7 +514,7 @@ class QueuedTestTesterBase : //! Handler for input port from_typedReturnOut virtual F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -532,17 +532,17 @@ class QueuedTestTesterBase : //! Handler base-class function for from_noArgsOut void from_noArgsOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_noArgsReturnOut U32 from_noArgsReturnOut_handlerBase( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler base-class function for from_typedOut void from_typedOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -554,7 +554,7 @@ class QueuedTestTesterBase : //! Handler base-class function for from_typedReturnOut F32 from_typedReturnOut_handlerBase( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -572,32 +572,32 @@ class QueuedTestTesterBase : //! Invoke the to port connected to noArgsAsync void invoke_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsGuarded void invoke_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnGuarded U32 invoke_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsReturnSync U32 invoke_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to noArgsSync void invoke_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Invoke the to port connected to typedAsync void invoke_to_typedAsync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -609,7 +609,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedAsyncAssert void invoke_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -621,7 +621,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedAsyncBlockPriority void invoke_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -633,7 +633,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedAsyncDropPriority void invoke_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -645,7 +645,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedGuarded void invoke_to_typedGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -657,7 +657,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedReturnGuarded F32 invoke_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -669,7 +669,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedReturnSync F32 invoke_to_typedReturnSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -681,7 +681,7 @@ class QueuedTestTesterBase : //! Invoke the to port connected to typedSync void invoke_to_typedSync( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -856,105 +856,105 @@ class QueuedTestTesterBase : //! //! \return Whether port to_cmdIn is connected bool isConnected_to_cmdIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_productRecvIn is connected //! //! \return Whether port to_productRecvIn is connected bool isConnected_to_productRecvIn( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsAsync is connected //! //! \return Whether port to_noArgsAsync is connected bool isConnected_to_noArgsAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsGuarded is connected //! //! \return Whether port to_noArgsGuarded is connected bool isConnected_to_noArgsGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnGuarded is connected //! //! \return Whether port to_noArgsReturnGuarded is connected bool isConnected_to_noArgsReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsReturnSync is connected //! //! \return Whether port to_noArgsReturnSync is connected bool isConnected_to_noArgsReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_noArgsSync is connected //! //! \return Whether port to_noArgsSync is connected bool isConnected_to_noArgsSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsync is connected //! //! \return Whether port to_typedAsync is connected bool isConnected_to_typedAsync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncAssert is connected //! //! \return Whether port to_typedAsyncAssert is connected bool isConnected_to_typedAsyncAssert( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncBlockPriority is connected //! //! \return Whether port to_typedAsyncBlockPriority is connected bool isConnected_to_typedAsyncBlockPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedAsyncDropPriority is connected //! //! \return Whether port to_typedAsyncDropPriority is connected bool isConnected_to_typedAsyncDropPriority( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedGuarded is connected //! //! \return Whether port to_typedGuarded is connected bool isConnected_to_typedGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnGuarded is connected //! //! \return Whether port to_typedReturnGuarded is connected bool isConnected_to_typedReturnGuarded( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedReturnSync is connected //! //! \return Whether port to_typedReturnSync is connected bool isConnected_to_typedReturnSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Check whether port to_typedSync is connected //! //! \return Whether port to_typedSync is connected bool isConnected_to_typedSync( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); protected: @@ -1472,14 +1472,14 @@ class QueuedTestTesterBase : //! Static function for port from_cmdRegOut static void from_cmdRegOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode //!< Command Op Code ); //! Static function for port from_cmdResponseOut static void from_cmdResponseOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwOpcodeType opCode, //!< Command Op Code U32 cmdSeq, //!< Command Sequence const Fw::CmdResponse& response //!< The command response argument @@ -1488,7 +1488,7 @@ class QueuedTestTesterBase : //! Static function for port from_eventOut static void from_eventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1498,7 +1498,7 @@ class QueuedTestTesterBase : //! Static function for port from_prmGetOut static Fw::ParamValid from_prmGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1506,7 +1506,7 @@ class QueuedTestTesterBase : //! Static function for port from_prmSetOut static void from_prmSetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwPrmIdType id, //!< Parameter ID Fw::ParamBuffer& val //!< Buffer containing serialized parameter value ); @@ -1514,7 +1514,7 @@ class QueuedTestTesterBase : //! Static function for port from_productRequestOut static void from_productRequestOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID FwSizeType dataSize //!< The data size of the requested buffer ); @@ -1522,7 +1522,7 @@ class QueuedTestTesterBase : //! Static function for port from_productSendOut static void from_productSendOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwDpIdType id, //!< The container ID const Fw::Buffer& buffer //!< The buffer ); @@ -1532,7 +1532,7 @@ class QueuedTestTesterBase : //! Static function for port from_textEventOut static void from_textEventOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwEventIdType id, //!< Log ID Fw::Time& timeTag, //!< Time Tag const Fw::LogSeverity& severity, //!< The severity argument @@ -1544,14 +1544,14 @@ class QueuedTestTesterBase : //! Static function for port from_timeGetOut static void from_timeGetOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::Time& time //!< The time tag ); //! Static function for port from_tlmOut static void from_tlmOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number FwChanIdType id, //!< Telemetry Channel ID Fw::Time& timeTag, //!< Time Tag Fw::TlmBuffer& val //!< Buffer containing serialized telemetry value @@ -1560,19 +1560,19 @@ class QueuedTestTesterBase : //! Static function for port from_noArgsOut static void from_noArgsOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_noArgsReturnOut static U32 from_noArgsReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Static function for port from_typedOut static void from_typedOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -1585,7 +1585,7 @@ class QueuedTestTesterBase : //! Static function for port from_typedReturnOut static F32 from_typedReturnOut_static( Fw::PassiveComponentBase* const callComp, //!< The component instance - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.cpp index 2019cea94..3b9ed918e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveAsyncProductsTester :: // ---------------------------------------------------------------------- void ActiveAsyncProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveAsyncProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveAsyncProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveAsyncProductsTester :: F32 ActiveAsyncProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp index a132978bf..19c670dfa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveAsyncProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveAsyncProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTesterHelpers.ref.cpp index aa4295d8a..f17d92e1e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void ActiveAsyncProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void ActiveAsyncProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.cpp index 8dd3b9244..3833442fc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveCommandsTester :: // ---------------------------------------------------------------------- void ActiveCommandsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveCommandsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveCommandsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveCommandsTester :: F32 ActiveCommandsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp index c7b5866e9..d99ef8242 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveCommandsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveCommandsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTesterHelpers.ref.cpp index a4bb591ec..980cf441e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void ActiveCommandsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void ActiveCommandsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.cpp index 385e1eea8..ea4a4360f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveEventsTester :: // ---------------------------------------------------------------------- void ActiveEventsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveEventsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveEventsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveEventsTester :: F32 ActiveEventsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp index be1a960e0..e1ae7084b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveEventsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveEventsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTesterHelpers.ref.cpp index edeaf57cf..3c9a66a51 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTesterHelpers.ref.cpp @@ -47,14 +47,14 @@ void ActiveEventsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -91,14 +91,14 @@ void ActiveEventsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.cpp index 77effd6f1..9cf6de62e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveGetProductsTester :: // ---------------------------------------------------------------------- void ActiveGetProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveGetProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveGetProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveGetProductsTester :: F32 ActiveGetProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp index 6efd6d9f3..4ff4382d4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveGetProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveGetProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTesterHelpers.ref.cpp index 764b91dbd..a4148971b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTesterHelpers.ref.cpp @@ -47,14 +47,14 @@ void ActiveGetProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -91,14 +91,14 @@ void ActiveGetProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.cpp index 0acf18ffb..4f6cfb564 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveGuardedProductsTester :: // ---------------------------------------------------------------------- void ActiveGuardedProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveGuardedProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveGuardedProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveGuardedProductsTester :: F32 ActiveGuardedProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp index d570aeadb..469a57e3b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveGuardedProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveGuardedProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTesterHelpers.ref.cpp index 7c6a73380..dea8e3dac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void ActiveGuardedProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void ActiveGuardedProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.cpp index fda2874a7..de846f196 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.cpp @@ -40,13 +40,13 @@ void ActiveNoArgsPortsOnlyTester :: // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveNoArgsPortsOnlyTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp index 7e9e3ba86..f3c8dc2ba 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp @@ -58,12 +58,12 @@ class ActiveNoArgsPortsOnlyTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); private: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTesterHelpers.ref.cpp index aab63ee9b..807ad64e2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTesterHelpers.ref.cpp @@ -15,7 +15,7 @@ void ActiveNoArgsPortsOnlyTester :: { // Connect typed input ports - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsAsync( i, this->component.get_noArgsAsync_InputPort(i) @@ -32,7 +32,7 @@ void ActiveNoArgsPortsOnlyTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.cpp index 113aab194..b80cbf0b1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveParamsTester :: // ---------------------------------------------------------------------- void ActiveParamsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveParamsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveParamsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveParamsTester :: F32 ActiveParamsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp index 602d99523..0161a966d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveParamsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveParamsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTesterHelpers.ref.cpp index ec0340ee9..43993a7c7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTesterHelpers.ref.cpp @@ -64,14 +64,14 @@ void ActiveParamsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -108,14 +108,14 @@ void ActiveParamsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.cpp index 13f82184c..78cda4b43 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveSerialTester :: // ---------------------------------------------------------------------- void ActiveSerialTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveSerialTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveSerialTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveSerialTester :: F32 ActiveSerialTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -87,7 +87,7 @@ F32 ActiveSerialTester :: void ActiveSerialTester :: from_serialOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp index 6672189d7..1bbec8ba7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveSerialTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveSerialTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -98,7 +98,7 @@ class ActiveSerialTester : //! Handler implementation for serialOut void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTesterHelpers.ref.cpp index a32e010ba..1cd151262 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTesterHelpers.ref.cpp @@ -79,14 +79,14 @@ void ActiveSerialTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -123,14 +123,14 @@ void ActiveSerialTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) @@ -193,7 +193,7 @@ void ActiveSerialTester :: // Connect serial output ports - for (NATIVE_UINT_TYPE i = 0; i < 5; i++) { + for (FwIndexType i = 0; i < 5; i++) { this->component.set_serialOut_OutputPort( i, this->get_from_serialOut(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.cpp index 386972ea4..0a8fd2102 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveSyncProductsTester :: // ---------------------------------------------------------------------- void ActiveSyncProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveSyncProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveSyncProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveSyncProductsTester :: F32 ActiveSyncProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp index a561972d1..61c02bd40 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveSyncProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveSyncProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTesterHelpers.ref.cpp index 6ed2c3d0c..36d19ab87 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void ActiveSyncProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void ActiveSyncProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.cpp index 87d9a31d5..fd6d5b80e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.cpp @@ -40,20 +40,20 @@ void ActiveTelemetryTester :: // ---------------------------------------------------------------------- void ActiveTelemetryTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveTelemetryTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveTelemetryTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void ActiveTelemetryTester :: F32 ActiveTelemetryTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp index d490b81d3..0c06d233e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp @@ -58,17 +58,17 @@ class ActiveTelemetryTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class ActiveTelemetryTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTesterHelpers.ref.cpp index a753ceca3..db478237a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTesterHelpers.ref.cpp @@ -42,14 +42,14 @@ void ActiveTelemetryTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -86,14 +86,14 @@ void ActiveTelemetryTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.cpp index 4235d6162..956bb77a4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.cpp @@ -42,20 +42,20 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 ActiveTestTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void ActiveTestTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -70,7 +70,7 @@ namespace M { F32 ActiveTestTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp index dd5f44e94..e7769193f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp @@ -60,17 +60,17 @@ namespace M { //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -82,7 +82,7 @@ namespace M { //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTesterHelpers.ref.cpp index 996274432..08261a1c1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTesterHelpers.ref.cpp @@ -96,14 +96,14 @@ namespace M { this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -140,14 +140,14 @@ namespace M { this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.cpp index 52c8de5df..31e5e59de 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveCommandsTester :: // ---------------------------------------------------------------------- void PassiveCommandsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveCommandsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveCommandsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveCommandsTester :: F32 PassiveCommandsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp index f281cffa8..f1df692e8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveCommandsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveCommandsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTesterHelpers.ref.cpp index 4710dc709..b0e2dc96e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTesterHelpers.ref.cpp @@ -49,14 +49,14 @@ void PassiveCommandsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -73,14 +73,14 @@ void PassiveCommandsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.cpp index eb55f01a1..6f864b0e5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveEventsTester :: // ---------------------------------------------------------------------- void PassiveEventsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveEventsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveEventsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveEventsTester :: F32 PassiveEventsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp index 17e7f3e0e..22196ae6b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveEventsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveEventsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTesterHelpers.ref.cpp index c930d5c2a..d9088f8fb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTesterHelpers.ref.cpp @@ -42,14 +42,14 @@ void PassiveEventsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -66,14 +66,14 @@ void PassiveEventsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.cpp index a6a534569..c8fdf8236 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveGetProductsTester :: // ---------------------------------------------------------------------- void PassiveGetProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveGetProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveGetProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveGetProductsTester :: F32 PassiveGetProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp index 6eb0ab56b..10f736d8b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveGetProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveGetProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTesterHelpers.ref.cpp index 3e650e51f..ef8fb2991 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTesterHelpers.ref.cpp @@ -42,14 +42,14 @@ void PassiveGetProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -66,14 +66,14 @@ void PassiveGetProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.cpp index a1672337e..134731ba5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveGuardedProductsTester :: // ---------------------------------------------------------------------- void PassiveGuardedProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveGuardedProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveGuardedProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveGuardedProductsTester :: F32 PassiveGuardedProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp index 63789e031..16834359d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveGuardedProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveGuardedProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTesterHelpers.ref.cpp index fb739b455..0c3f5e05c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTesterHelpers.ref.cpp @@ -49,14 +49,14 @@ void PassiveGuardedProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -73,14 +73,14 @@ void PassiveGuardedProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.cpp index d9bec4483..e50ccd9c4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveParamsTester :: // ---------------------------------------------------------------------- void PassiveParamsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveParamsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveParamsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveParamsTester :: F32 PassiveParamsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp index 95ea913aa..61b5df4d5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveParamsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveParamsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTesterHelpers.ref.cpp index 86c667e69..bf833921f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTesterHelpers.ref.cpp @@ -59,14 +59,14 @@ void PassiveParamsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -83,14 +83,14 @@ void PassiveParamsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.cpp index 5a992fbe6..193cefc9f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveSerialTester :: // ---------------------------------------------------------------------- void PassiveSerialTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveSerialTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveSerialTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveSerialTester :: F32 PassiveSerialTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -87,7 +87,7 @@ F32 PassiveSerialTester :: void PassiveSerialTester :: from_serialOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp index 7ed98ac44..5d3576abe 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveSerialTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveSerialTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -95,7 +95,7 @@ class PassiveSerialTester : //! Handler implementation for serialOut void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTesterHelpers.ref.cpp index 8dcec9111..a26f1df04 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTesterHelpers.ref.cpp @@ -74,14 +74,14 @@ void PassiveSerialTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void PassiveSerialTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) @@ -148,7 +148,7 @@ void PassiveSerialTester :: // Connect serial output ports - for (NATIVE_UINT_TYPE i = 0; i < 5; i++) { + for (FwIndexType i = 0; i < 5; i++) { this->component.set_serialOut_OutputPort( i, this->get_from_serialOut(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.cpp index d81982b47..d93e3287a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveSyncProductsTester :: // ---------------------------------------------------------------------- void PassiveSyncProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveSyncProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveSyncProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveSyncProductsTester :: F32 PassiveSyncProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp index 22e063b92..d18bdcda1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveSyncProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveSyncProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTesterHelpers.ref.cpp index 1299785c7..d5c98dc73 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTesterHelpers.ref.cpp @@ -49,14 +49,14 @@ void PassiveSyncProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -73,14 +73,14 @@ void PassiveSyncProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.cpp index b838e7b61..0c79ab810 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveTelemetryTester :: // ---------------------------------------------------------------------- void PassiveTelemetryTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveTelemetryTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveTelemetryTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveTelemetryTester :: F32 PassiveTelemetryTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp index c5b5e33b3..4b6a1db55 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveTelemetryTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveTelemetryTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTesterHelpers.ref.cpp index c80a1d535..432580dfa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTesterHelpers.ref.cpp @@ -37,14 +37,14 @@ void PassiveTelemetryTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -61,14 +61,14 @@ void PassiveTelemetryTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.cpp index 6f2b2ae55..71b661d72 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.cpp @@ -40,20 +40,20 @@ void PassiveTestTester :: // ---------------------------------------------------------------------- void PassiveTestTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 PassiveTestTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void PassiveTestTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void PassiveTestTester :: F32 PassiveTestTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp index 590a45e24..982f61c11 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp @@ -55,17 +55,17 @@ class PassiveTestTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -77,7 +77,7 @@ class PassiveTestTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTesterHelpers.ref.cpp index 29c27aeeb..1411c7850 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTesterHelpers.ref.cpp @@ -89,14 +89,14 @@ void PassiveTestTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -113,14 +113,14 @@ void PassiveTestTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.cpp index fb87cdae1..37855c119 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedCommandsTester :: // ---------------------------------------------------------------------- void QueuedCommandsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedCommandsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedCommandsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedCommandsTester :: F32 QueuedCommandsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp index 6f562592a..8f9985fea 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedCommandsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedCommandsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTesterHelpers.ref.cpp index 17f0d715d..501e64715 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void QueuedCommandsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void QueuedCommandsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.cpp index b1325b006..edf2ad833 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedEventsTester :: // ---------------------------------------------------------------------- void QueuedEventsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedEventsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedEventsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedEventsTester :: F32 QueuedEventsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp index 6040562aa..2943b840d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedEventsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedEventsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTesterHelpers.ref.cpp index 1acd4923d..ba2f2cd10 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTesterHelpers.ref.cpp @@ -47,14 +47,14 @@ void QueuedEventsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -91,14 +91,14 @@ void QueuedEventsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.cpp index 35851c6fa..8cd3b82f3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedGetProductsTester :: // ---------------------------------------------------------------------- void QueuedGetProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedGetProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedGetProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedGetProductsTester :: F32 QueuedGetProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp index 0baf3300e..0998ea61a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedGetProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedGetProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTesterHelpers.ref.cpp index a8e7ad8ab..e0ef61749 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTesterHelpers.ref.cpp @@ -47,14 +47,14 @@ void QueuedGetProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -91,14 +91,14 @@ void QueuedGetProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.cpp index 25dc7c331..292236629 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedGuardedProductsTester :: // ---------------------------------------------------------------------- void QueuedGuardedProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedGuardedProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedGuardedProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedGuardedProductsTester :: F32 QueuedGuardedProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp index 4bdd3e8e6..d09a56c49 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedGuardedProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedGuardedProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTesterHelpers.ref.cpp index 1a8e5af01..740e3433d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void QueuedGuardedProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void QueuedGuardedProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.cpp index 4508265b5..2a6c04e46 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedParamsTester :: // ---------------------------------------------------------------------- void QueuedParamsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedParamsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedParamsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedParamsTester :: F32 QueuedParamsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp index fd63938ea..53540e0e3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedParamsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedParamsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTesterHelpers.ref.cpp index 7663f3a15..4b11c49d0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTesterHelpers.ref.cpp @@ -64,14 +64,14 @@ void QueuedParamsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -108,14 +108,14 @@ void QueuedParamsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.cpp index efedcf7c0..f588f7e71 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedSerialTester :: // ---------------------------------------------------------------------- void QueuedSerialTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedSerialTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedSerialTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedSerialTester :: F32 QueuedSerialTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -87,7 +87,7 @@ F32 QueuedSerialTester :: void QueuedSerialTester :: from_serialOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, Fw::SerializeBufferBase& buffer ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp index bbb34385e..14bfaec8c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedSerialTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedSerialTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -98,7 +98,7 @@ class QueuedSerialTester : //! Handler implementation for serialOut void from_serialOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number Fw::SerializeBufferBase& buffer //!< The serialization buffer ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTesterHelpers.ref.cpp index d7a96a807..ffd2b9587 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTesterHelpers.ref.cpp @@ -79,14 +79,14 @@ void QueuedSerialTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -123,14 +123,14 @@ void QueuedSerialTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) @@ -193,7 +193,7 @@ void QueuedSerialTester :: // Connect serial output ports - for (NATIVE_UINT_TYPE i = 0; i < 5; i++) { + for (FwIndexType i = 0; i < 5; i++) { this->component.set_serialOut_OutputPort( i, this->get_from_serialOut(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.cpp index cb98c26d9..ada36f5c0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedSyncProductsTester :: // ---------------------------------------------------------------------- void QueuedSyncProductsTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedSyncProductsTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedSyncProductsTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedSyncProductsTester :: F32 QueuedSyncProductsTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp index e1a5f04df..3657f95f4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedSyncProductsTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedSyncProductsTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTesterHelpers.ref.cpp index aa8efcabf..1eba60b51 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTesterHelpers.ref.cpp @@ -54,14 +54,14 @@ void QueuedSyncProductsTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -98,14 +98,14 @@ void QueuedSyncProductsTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.cpp index 1f5c1554f..71c550ce9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedTelemetryTester :: // ---------------------------------------------------------------------- void QueuedTelemetryTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedTelemetryTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedTelemetryTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedTelemetryTester :: F32 QueuedTelemetryTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp index c953234c1..719b8c622 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedTelemetryTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedTelemetryTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTesterHelpers.ref.cpp index 302343805..eb6044115 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTesterHelpers.ref.cpp @@ -42,14 +42,14 @@ void QueuedTelemetryTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -86,14 +86,14 @@ void QueuedTelemetryTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.cpp index f425c81de..e3085c1ee 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.cpp @@ -40,20 +40,20 @@ void QueuedTestTester :: // ---------------------------------------------------------------------- void QueuedTestTester :: - from_noArgsOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsOut_handler(FwIndexType portNum) { // TODO } U32 QueuedTestTester :: - from_noArgsReturnOut_handler(NATIVE_INT_TYPE portNum) + from_noArgsReturnOut_handler(FwIndexType portNum) { // TODO return } void QueuedTestTester :: from_typedOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, @@ -68,7 +68,7 @@ void QueuedTestTester :: F32 QueuedTestTester :: from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp index cfea5d9df..dd9ae5328 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp @@ -58,17 +58,17 @@ class QueuedTestTester : //! Handler implementation for noArgsOut void from_noArgsOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for noArgsReturnOut U32 from_noArgsReturnOut_handler( - NATIVE_INT_TYPE portNum //!< The port number + FwIndexType portNum //!< The port number ); //! Handler implementation for typedOut void from_typedOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean @@ -80,7 +80,7 @@ class QueuedTestTester : //! Handler implementation for typedReturnOut F32 from_typedReturnOut_handler( - NATIVE_INT_TYPE portNum, //!< The port number + FwIndexType portNum, //!< The port number U32 u32, //!< A U32 F32 f32, //!< An F32 bool b, //!< A boolean diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTesterHelpers.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTesterHelpers.ref.cpp index 728283613..27f9f71db 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTesterHelpers.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTesterHelpers.ref.cpp @@ -94,14 +94,14 @@ void QueuedTestTester :: this->component.get_noArgsReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsReturnSync( i, this->component.get_noArgsReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_noArgsSync( i, this->component.get_noArgsSync_InputPort(i) @@ -138,14 +138,14 @@ void QueuedTestTester :: this->component.get_typedReturnGuarded_InputPort(0) ); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedReturnSync( i, this->component.get_typedReturnSync_InputPort(i) ); } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwIndexType i = 0; i < 3; i++) { this->connect_to_typedSync( i, this->component.get_typedSync_InputPort(i) From 96ce443541e0e7023baf26b962f2b53d6a468b42 Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Tue, 27 Feb 2024 19:38:27 -0800 Subject: [PATCH 02/11] Revise C++ code gen Eliminate uses of NATIVE_[U]INT_TYPE --- .../ComponentCommands.scala | 2 +- .../ComponentCppWriter.scala | 6 +- .../ComponentInputPorts.scala | 2 +- .../ComponentInternalPort.scala | 2 +- .../ComponentCppWriter/ComponentPorts.scala | 4 +- .../codegen/CppWriter/PortCppWriter.scala | 6 +- .../codegen/CppWriter/StructCppWriter.scala | 2 +- .../test/array/S3SerializableAc.ref.cpp | 18 +- ...veAsyncProductPortsOnlyComponentAc.ref.cpp | 18 +- ...veAsyncProductPortsOnlyComponentAc.ref.hpp | 6 +- .../ActiveAsyncProductsComponentAc.ref.cpp | 132 ++++++------- .../ActiveAsyncProductsComponentAc.ref.hpp | 58 +++--- .../base/ActiveCommandsComponentAc.ref.cpp | 128 ++++++------- .../base/ActiveCommandsComponentAc.ref.hpp | 52 ++--- .../base/ActiveEventsComponentAc.ref.cpp | 118 ++++++------ .../base/ActiveEventsComponentAc.ref.hpp | 52 ++--- .../base/ActiveGetProductsComponentAc.ref.cpp | 126 ++++++------- .../base/ActiveGetProductsComponentAc.ref.hpp | 56 +++--- .../ActiveGuardedProductsComponentAc.ref.cpp | 130 ++++++------- .../ActiveGuardedProductsComponentAc.ref.hpp | 58 +++--- .../ActiveNoArgsPortsOnlyComponentAc.ref.cpp | 30 +-- .../ActiveNoArgsPortsOnlyComponentAc.ref.hpp | 12 +- .../base/ActiveParamsComponentAc.ref.cpp | 118 ++++++------ .../base/ActiveParamsComponentAc.ref.hpp | 52 ++--- .../base/ActiveSerialComponentAc.ref.cpp | 178 +++++++++--------- .../base/ActiveSerialComponentAc.ref.hpp | 66 +++---- .../ActiveSyncProductsComponentAc.ref.cpp | 130 ++++++------- .../ActiveSyncProductsComponentAc.ref.hpp | 58 +++--- .../base/ActiveTelemetryComponentAc.ref.cpp | 118 ++++++------ .../base/ActiveTelemetryComponentAc.ref.hpp | 52 ++--- .../base/ActiveTestComponentAc.ref.cpp | 154 +++++++-------- .../base/ActiveTestComponentAc.ref.hpp | 58 +++--- .../test/component/base/NoArgsPortAc.ref.cpp | 2 +- .../test/component/base/NoArgsPortAc.ref.hpp | 2 +- .../component/base/NoArgsReturnPortAc.ref.hpp | 2 +- .../base/PassiveCommandsComponentAc.ref.cpp | 84 ++++----- .../base/PassiveCommandsComponentAc.ref.hpp | 42 ++--- .../base/PassiveEventsComponentAc.ref.cpp | 84 ++++----- .../base/PassiveEventsComponentAc.ref.hpp | 42 ++--- ...siveGetProductPortsOnlyComponentAc.ref.cpp | 8 +- ...siveGetProductPortsOnlyComponentAc.ref.hpp | 4 +- .../PassiveGetProductsComponentAc.ref.cpp | 92 ++++----- .../PassiveGetProductsComponentAc.ref.hpp | 46 ++--- .../PassiveGuardedProductsComponentAc.ref.cpp | 96 +++++----- .../PassiveGuardedProductsComponentAc.ref.hpp | 48 ++--- .../base/PassiveParamsComponentAc.ref.cpp | 84 ++++----- .../base/PassiveParamsComponentAc.ref.hpp | 42 ++--- .../base/PassiveSerialComponentAc.ref.cpp | 96 +++++----- .../base/PassiveSerialComponentAc.ref.hpp | 48 ++--- ...iveSyncProductPortsOnlyComponentAc.ref.cpp | 12 +- ...iveSyncProductPortsOnlyComponentAc.ref.hpp | 6 +- .../PassiveSyncProductsComponentAc.ref.cpp | 96 +++++----- .../PassiveSyncProductsComponentAc.ref.hpp | 48 ++--- .../base/PassiveTelemetryComponentAc.ref.cpp | 84 ++++----- .../base/PassiveTelemetryComponentAc.ref.hpp | 42 ++--- .../base/PassiveTestComponentAc.ref.cpp | 96 +++++----- .../base/PassiveTestComponentAc.ref.hpp | 48 ++--- ...edAsyncProductPortsOnlyComponentAc.ref.cpp | 18 +- ...edAsyncProductPortsOnlyComponentAc.ref.hpp | 6 +- .../QueuedAsyncProductsComponentAc.ref.cpp | 132 ++++++------- .../QueuedAsyncProductsComponentAc.ref.hpp | 58 +++--- .../base/QueuedCommandsComponentAc.ref.cpp | 128 ++++++------- .../base/QueuedCommandsComponentAc.ref.hpp | 52 ++--- .../base/QueuedEventsComponentAc.ref.cpp | 118 ++++++------ .../base/QueuedEventsComponentAc.ref.hpp | 52 ++--- .../base/QueuedGetProductsComponentAc.ref.cpp | 126 ++++++------- .../base/QueuedGetProductsComponentAc.ref.hpp | 56 +++--- .../QueuedGuardedProductsComponentAc.ref.cpp | 130 ++++++------- .../QueuedGuardedProductsComponentAc.ref.hpp | 58 +++--- .../QueuedNoArgsPortsOnlyComponentAc.ref.cpp | 30 +-- .../QueuedNoArgsPortsOnlyComponentAc.ref.hpp | 12 +- .../base/QueuedParamsComponentAc.ref.cpp | 118 ++++++------ .../base/QueuedParamsComponentAc.ref.hpp | 52 ++--- .../base/QueuedSerialComponentAc.ref.cpp | 178 +++++++++--------- .../base/QueuedSerialComponentAc.ref.hpp | 66 +++---- .../QueuedSyncProductsComponentAc.ref.cpp | 130 ++++++------- .../QueuedSyncProductsComponentAc.ref.hpp | 58 +++--- .../base/QueuedTelemetryComponentAc.ref.cpp | 118 ++++++------ .../base/QueuedTelemetryComponentAc.ref.hpp | 52 ++--- .../base/QueuedTestComponentAc.ref.cpp | 154 +++++++-------- .../base/QueuedTestComponentAc.ref.hpp | 58 +++--- .../test/component/base/TypedPortAc.ref.cpp | 2 +- .../test/component/base/TypedPortAc.ref.hpp | 2 +- .../component/base/TypedReturnPortAc.ref.hpp | 2 +- ...iveAsyncProductPortsOnlyTesterBase.ref.cpp | 12 +- ...iveAsyncProductPortsOnlyTesterBase.ref.hpp | 6 +- .../ActiveAsyncProductsTesterBase.ref.cpp | 116 ++++++------ .../ActiveAsyncProductsTesterBase.ref.hpp | 58 +++--- .../ActiveCommandsTesterBase.ref.cpp | 104 +++++----- .../ActiveCommandsTesterBase.ref.hpp | 52 ++--- .../test-base/ActiveEventsTesterBase.ref.cpp | 104 +++++----- .../test-base/ActiveEventsTesterBase.ref.hpp | 52 ++--- .../ActiveGetProductsTesterBase.ref.cpp | 112 +++++------ .../ActiveGetProductsTesterBase.ref.hpp | 56 +++--- .../ActiveGuardedProductsTesterBase.ref.cpp | 116 ++++++------ .../ActiveGuardedProductsTesterBase.ref.hpp | 58 +++--- .../ActiveNoArgsPortsOnlyTesterBase.ref.cpp | 24 +-- .../ActiveNoArgsPortsOnlyTesterBase.ref.hpp | 12 +- .../test-base/ActiveParamsTesterBase.ref.cpp | 104 +++++----- .../test-base/ActiveParamsTesterBase.ref.hpp | 52 ++--- .../test-base/ActiveSerialTesterBase.ref.cpp | 132 ++++++------- .../test-base/ActiveSerialTesterBase.ref.hpp | 66 +++---- .../ActiveSyncProductsTesterBase.ref.cpp | 116 ++++++------ .../ActiveSyncProductsTesterBase.ref.hpp | 58 +++--- .../ActiveTelemetryTesterBase.ref.cpp | 104 +++++----- .../ActiveTelemetryTesterBase.ref.hpp | 52 ++--- .../test-base/ActiveTestTesterBase.ref.cpp | 116 ++++++------ .../test-base/ActiveTestTesterBase.ref.hpp | 58 +++--- .../PassiveCommandsTesterBase.ref.cpp | 84 ++++----- .../PassiveCommandsTesterBase.ref.hpp | 42 ++--- .../test-base/PassiveEventsTesterBase.ref.cpp | 84 ++++----- .../test-base/PassiveEventsTesterBase.ref.hpp | 42 ++--- ...ssiveGetProductPortsOnlyTesterBase.ref.cpp | 8 +- ...ssiveGetProductPortsOnlyTesterBase.ref.hpp | 4 +- .../PassiveGetProductsTesterBase.ref.cpp | 92 ++++----- .../PassiveGetProductsTesterBase.ref.hpp | 46 ++--- .../PassiveGuardedProductsTesterBase.ref.cpp | 96 +++++----- .../PassiveGuardedProductsTesterBase.ref.hpp | 48 ++--- .../test-base/PassiveParamsTesterBase.ref.cpp | 84 ++++----- .../test-base/PassiveParamsTesterBase.ref.hpp | 42 ++--- .../test-base/PassiveSerialTesterBase.ref.cpp | 96 +++++----- .../test-base/PassiveSerialTesterBase.ref.hpp | 48 ++--- ...siveSyncProductPortsOnlyTesterBase.ref.cpp | 12 +- ...siveSyncProductPortsOnlyTesterBase.ref.hpp | 6 +- .../PassiveSyncProductsTesterBase.ref.cpp | 96 +++++----- .../PassiveSyncProductsTesterBase.ref.hpp | 48 ++--- .../PassiveTelemetryTesterBase.ref.cpp | 84 ++++----- .../PassiveTelemetryTesterBase.ref.hpp | 42 ++--- .../test-base/PassiveTestTesterBase.ref.cpp | 96 +++++----- .../test-base/PassiveTestTesterBase.ref.hpp | 48 ++--- ...uedAsyncProductPortsOnlyTesterBase.ref.cpp | 12 +- ...uedAsyncProductPortsOnlyTesterBase.ref.hpp | 6 +- .../QueuedAsyncProductsTesterBase.ref.cpp | 116 ++++++------ .../QueuedAsyncProductsTesterBase.ref.hpp | 58 +++--- .../QueuedCommandsTesterBase.ref.cpp | 104 +++++----- .../QueuedCommandsTesterBase.ref.hpp | 52 ++--- .../test-base/QueuedEventsTesterBase.ref.cpp | 104 +++++----- .../test-base/QueuedEventsTesterBase.ref.hpp | 52 ++--- .../QueuedGetProductsTesterBase.ref.cpp | 112 +++++------ .../QueuedGetProductsTesterBase.ref.hpp | 56 +++--- .../QueuedGuardedProductsTesterBase.ref.cpp | 116 ++++++------ .../QueuedGuardedProductsTesterBase.ref.hpp | 58 +++--- .../QueuedNoArgsPortsOnlyTesterBase.ref.cpp | 24 +-- .../QueuedNoArgsPortsOnlyTesterBase.ref.hpp | 12 +- .../test-base/QueuedParamsTesterBase.ref.cpp | 104 +++++----- .../test-base/QueuedParamsTesterBase.ref.hpp | 52 ++--- .../test-base/QueuedSerialTesterBase.ref.cpp | 132 ++++++------- .../test-base/QueuedSerialTesterBase.ref.hpp | 66 +++---- .../QueuedSyncProductsTesterBase.ref.cpp | 116 ++++++------ .../QueuedSyncProductsTesterBase.ref.hpp | 58 +++--- .../QueuedTelemetryTesterBase.ref.cpp | 104 +++++----- .../QueuedTelemetryTesterBase.ref.hpp | 52 ++--- .../test-base/QueuedTestTesterBase.ref.cpp | 116 ++++++------ .../test-base/QueuedTestTesterBase.ref.hpp | 58 +++--- .../test/port/AbsTypePortAc.ref.cpp | 2 +- .../test/port/AbsTypePortAc.ref.hpp | 2 +- .../test/port/BuiltInTypePortAc.ref.cpp | 2 +- .../test/port/BuiltInTypePortAc.ref.hpp | 2 +- .../fpp-to-cpp/test/port/EmptyPortAc.ref.cpp | 2 +- .../fpp-to-cpp/test/port/EmptyPortAc.ref.hpp | 2 +- .../test/port/FppTypePortAc.ref.cpp | 2 +- .../test/port/FppTypePortAc.ref.hpp | 2 +- .../test/port/KwdNamePortAc.ref.cpp | 2 +- .../test/port/KwdNamePortAc.ref.hpp | 2 +- .../test/port/PrimitivePortAc.ref.cpp | 2 +- .../test/port/PrimitivePortAc.ref.hpp | 2 +- .../test/port/ReturnTypePortAc.ref.hpp | 2 +- .../fpp-to-cpp/test/port/StringPortAc.ref.cpp | 2 +- .../fpp-to-cpp/test/port/StringPortAc.ref.hpp | 2 +- .../test/struct/EnumSerializableAc.ref.cpp | 20 +- .../struct/Modules3SerializableAc.ref.cpp | 20 +- .../struct/Modules4SerializableAc.ref.cpp | 40 ++-- .../struct/PrimitiveSerializableAc.ref.cpp | 18 +- .../struct/StringArraySerializableAc.ref.cpp | 18 +- 174 files changed, 5048 insertions(+), 5048 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala index cc39b87f8..9686e35a3 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala @@ -163,7 +163,7 @@ case class ComponentCommands ( |Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; | |// Serialize for IPC - |_status = msg.serialize(static_cast(${commandCppConstantName(cmd)})); + |_status = msg.serialize(static_cast(${commandCppConstantName(cmd)})); |FW_ASSERT ( | _status == Fw::FW_SERIALIZE_OK, | static_cast(_status) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala index c520fb1df..cde7ce4ad 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala @@ -357,7 +357,7 @@ case class ComponentCppWriter ( | // Max. message size = size of data + message id + port | SERIALIZATION_SIZE =${if (buffUnion.nonEmpty) """ | sizeof(BuffUnion) +""" else "" } - | sizeof(NATIVE_INT_TYPE) + + | sizeof(FwMsgIdType) + | sizeof(FwIndexType) | }; | @@ -414,7 +414,7 @@ case class ComponentCppWriter ( |this->m_msgSize = FW_MAX( | msgSize + | static_cast(sizeof(FwIndexType)) + - | static_cast(sizeof(I32)), + | static_cast(sizeof(FwMsgIdType)), | static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) |); | @@ -780,7 +780,7 @@ case class ComponentCppWriter ( |// Reset to beginning of buffer |msg.resetDeser(); | - |NATIVE_INT_TYPE desMsg = 0; + |FwMsgIdType desMsg = 0; |Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); |FW_ASSERT( | deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala index 67fd885d7..4a023f64d 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala @@ -130,7 +130,7 @@ case class ComponentInputPorts( lines( s"""|// Serialize message ID |_status = $bufferName.serialize( - | static_cast(${portCppConstantName(p)}) + | static_cast(${portCppConstantName(p)}) |); |FW_ASSERT( | _status == Fw::FW_SERIALIZE_OK, diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala index 9a3ec759d..98efbe176 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala @@ -56,7 +56,7 @@ case class ComponentInternalPort ( |Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; | |// Serialize the message ID - |_status = msg.serialize(static_cast(${internalPortCppConstantName(p)})); + |_status = msg.serialize(static_cast(${internalPortCppConstantName(p)})); |FW_ASSERT ( | _status == Fw::FW_SERIALIZE_OK, | static_cast(_status) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala index 6425334f1..83bd9acdc 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala @@ -119,9 +119,9 @@ case class ComponentPorts( ), numGetterName(p), Nil, - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwIndexType"), lines( - s"return static_cast(FW_NUM_ARRAY_ELEMENTS(this->${variableName(p)}));" + s"return static_cast(FW_NUM_ARRAY_ELEMENTS(this->${variableName(p)}));" ), CppDoc.Function.NonSV, CppDoc.Function.Const diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala index 5e1fa73a4..db7e27929 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala @@ -213,7 +213,7 @@ case class PortCppWriter ( List( CppDocHppWriter.writeAccessTag("public"), Line.blank :: lines( - s"""|NATIVE_UINT_TYPE getBuffCapacity() const { + s"""|FwSizeType getBuffCapacity() const { | return ${PortCppWriter.inputPortName(name)}::SERIALIZED_SIZE; |} | @@ -271,9 +271,9 @@ case class PortCppWriter ( val compFuncParams = line("Fw::PassiveComponentBase* callComp,") :: (if params.isEmpty then - lines("NATIVE_INT_TYPE portNum") + lines("FwIndexType portNum") else - line("NATIVE_INT_TYPE portNum,") :: + line("FwIndexType portNum,") :: lines(params.map(p => { s"${formalParamsCppWriter.getFormalParamType(p._2.data, None, List(strNamespace)).hppType} ${p._2.data.name}" }).mkString(",\n"))) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala index 0144c1183..c454e8d2d 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala @@ -691,7 +691,7 @@ case class StructCppWriter( // Writes a for loop that iterates n times private def iterateN(n: Int, ll: List[Line]) = wrapInForLoop( - "NATIVE_UINT_TYPE i = 0", + "FwSizeType i = 0", s"i < $n", "i++", ll diff --git a/compiler/tools/fpp-to-cpp/test/array/S3SerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/array/S3SerializableAc.ref.cpp index 8a7fa9248..090cd50b2 100644 --- a/compiler/tools/fpp-to-cpp/test/array/S3SerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/array/S3SerializableAc.ref.cpp @@ -22,7 +22,7 @@ namespace S { Serializable(), m_mF64(0.0) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = 0; } } @@ -35,7 +35,7 @@ namespace S { Serializable(), m_mF64(mF64) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = mU32Array[i]; } } @@ -45,7 +45,7 @@ namespace S { Serializable(), m_mF64(obj.m_mF64) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = obj.m_mU32Array[i]; } } @@ -58,7 +58,7 @@ namespace S { Serializable(), m_mF64(mF64) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = mU32Array; } } @@ -88,7 +88,7 @@ namespace S { // Compare array members if (!(this->m_mU32Array == obj.m_mU32Array)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { if (!(this->m_mU32Array[i] == obj.m_mU32Array[i])) { return false; } @@ -124,7 +124,7 @@ namespace S { { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.serialize(this->m_mU32Array[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -143,7 +143,7 @@ namespace S { { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.deserialize(this->m_mU32Array[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -199,7 +199,7 @@ namespace S { { this->m_mF64 = mF64; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = mU32Array[i]; } } @@ -207,7 +207,7 @@ namespace S { void S3 :: setmU32Array(const Type_of_mU32Array& mU32Array) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mU32Array[i] = mU32Array[i]; } } diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp index c4bb26d9e..1cfdec122 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp @@ -36,7 +36,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -248,26 +248,26 @@ ActiveAsyncProductPortsOnlyComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyComponentBase :: +FwIndexType ActiveAsyncProductPortsOnlyComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyComponentBase :: +FwIndexType ActiveAsyncProductPortsOnlyComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyComponentBase :: +FwIndexType ActiveAsyncProductPortsOnlyComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -328,7 +328,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -453,7 +453,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductPortsOnlyComponentB // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp index b71dc4231..88d1abe21 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp @@ -135,7 +135,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -146,12 +146,12 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp index a06625033..57c20444d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp @@ -46,7 +46,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1451,194 +1451,194 @@ ActiveAsyncProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveAsyncProductsComponentBase :: +FwIndexType ActiveAsyncProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1839,7 +1839,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1906,7 +1906,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2036,7 +2036,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2143,7 +2143,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2250,7 +2250,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2357,7 +2357,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2876,7 +2876,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp index 2891569ad..5a5542306 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class ActiveAsyncProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class ActiveAsyncProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class ActiveAsyncProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class ActiveAsyncProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp index 1effb0b25..c5a7aa09b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp @@ -49,7 +49,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1248,176 +1248,176 @@ ActiveCommandsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveCommandsComponentBase :: +FwIndexType ActiveCommandsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1586,7 +1586,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1716,7 +1716,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1823,7 +1823,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1930,7 +1930,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2037,7 +2037,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3076,7 +3076,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3135,7 +3135,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3194,7 +3194,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3253,7 +3253,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3317,7 +3317,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3487,7 +3487,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveCommandsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp index 9d03c21ea..500d053a8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp @@ -438,7 +438,7 @@ class ActiveCommandsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -449,67 +449,67 @@ class ActiveCommandsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -520,46 +520,46 @@ class ActiveCommandsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -570,22 +570,22 @@ class ActiveCommandsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp index ef69345c1..a4c38dbad 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1167,176 +1167,176 @@ ActiveEventsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveEventsComponentBase :: +FwIndexType ActiveEventsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1505,7 +1505,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1635,7 +1635,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1742,7 +1742,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1849,7 +1849,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1956,7 +1956,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3084,7 +3084,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveEventsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp index 554aeb65f..61bbad791 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp @@ -424,7 +424,7 @@ class ActiveEventsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -435,67 +435,67 @@ class ActiveEventsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -506,46 +506,46 @@ class ActiveEventsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -556,22 +556,22 @@ class ActiveEventsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp index af0e0096f..70a5a5682 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1400,188 +1400,188 @@ ActiveGetProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_productGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGetProductsComponentBase :: +FwIndexType ActiveGetProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1772,7 +1772,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1902,7 +1902,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2009,7 +2009,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2116,7 +2116,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2223,7 +2223,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2725,7 +2725,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGetProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp index 3af426d43..f37179c88 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp @@ -528,7 +528,7 @@ class ActiveGetProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -539,67 +539,67 @@ class ActiveGetProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -610,56 +610,56 @@ class ActiveGetProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productGetOut output ports //! //! \return The number of productGetOut output ports - NATIVE_INT_TYPE getNum_productGetOut_OutputPorts() const; + FwIndexType getNum_productGetOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -670,22 +670,22 @@ class ActiveGetProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp index 3567564b5..727c400a4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1449,194 +1449,194 @@ ActiveGuardedProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveGuardedProductsComponentBase :: +FwIndexType ActiveGuardedProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1862,7 +1862,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1992,7 +1992,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2099,7 +2099,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2206,7 +2206,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2313,7 +2313,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2832,7 +2832,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGuardedProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp index f8990449a..35770eab2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class ActiveGuardedProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class ActiveGuardedProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class ActiveGuardedProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class ActiveGuardedProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp index 194336925..439cd1505 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp @@ -29,7 +29,7 @@ namespace { enum { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -332,44 +332,44 @@ ActiveNoArgsPortsOnlyComponentBase :: // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyComponentBase :: +FwIndexType ActiveNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -420,7 +420,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -583,7 +583,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveNoArgsPortsOnlyComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp index e5c756aa7..b3d08adc1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp @@ -153,22 +153,22 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; PROTECTED: @@ -179,12 +179,12 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp index e7256c531..7e78fb830 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1403,176 +1403,176 @@ ActiveParamsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveParamsComponentBase :: +FwIndexType ActiveParamsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1741,7 +1741,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1871,7 +1871,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1978,7 +1978,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2085,7 +2085,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2192,7 +2192,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2726,7 +2726,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveParamsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp index 09a89e73d..578a71ef6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp @@ -456,7 +456,7 @@ class ActiveParamsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -467,67 +467,67 @@ class ActiveParamsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -538,46 +538,46 @@ class ActiveParamsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -588,22 +588,22 @@ class ActiveParamsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index 3698d02e4..3725b3ae9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -82,7 +82,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -853,7 +853,7 @@ void ActiveSerialComponentBase :: this->m_msgSize = FW_MAX( msgSize + static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(I32)), + static_cast(sizeof(FwMsgIdType)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -1782,226 +1782,226 @@ ActiveSerialComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsync_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialComponentBase :: +FwIndexType ActiveSerialComponentBase :: getNum_serialOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -2185,7 +2185,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2315,7 +2315,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2422,7 +2422,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2529,7 +2529,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2636,7 +2636,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2883,7 +2883,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNC_SERIAL) + static_cast(SERIALASYNC_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2933,7 +2933,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCASSERT_SERIAL) + static_cast(SERIALASYNCASSERT_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2983,7 +2983,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) + static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3033,7 +3033,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCDROPPRIORITY_SERIAL) + static_cast(SERIALASYNCDROPPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3339,7 +3339,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3375,7 +3375,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3415,7 +3415,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3463,7 +3463,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3501,7 +3501,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3543,7 +3543,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4242,7 +4242,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4301,7 +4301,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4360,7 +4360,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4419,7 +4419,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4483,7 +4483,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5832,7 +5832,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSerialComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index 8d894a765..01803c3e6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -594,7 +594,7 @@ class ActiveSerialComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -605,67 +605,67 @@ class ActiveSerialComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -676,32 +676,32 @@ class ActiveSerialComponentBase : //! Get the number of serialAsync input ports //! //! \return The number of serialAsync input ports - NATIVE_INT_TYPE getNum_serialAsync_InputPorts() const; + FwIndexType getNum_serialAsync_InputPorts() const; //! Get the number of serialAsyncAssert input ports //! //! \return The number of serialAsyncAssert input ports - NATIVE_INT_TYPE getNum_serialAsyncAssert_InputPorts() const; + FwIndexType getNum_serialAsyncAssert_InputPorts() const; //! Get the number of serialAsyncBlockPriority input ports //! //! \return The number of serialAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_serialAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_serialAsyncBlockPriority_InputPorts() const; //! Get the number of serialAsyncDropPriority input ports //! //! \return The number of serialAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_serialAsyncDropPriority_InputPorts() const; + FwIndexType getNum_serialAsyncDropPriority_InputPorts() const; //! Get the number of serialGuarded input ports //! //! \return The number of serialGuarded input ports - NATIVE_INT_TYPE getNum_serialGuarded_InputPorts() const; + FwIndexType getNum_serialGuarded_InputPorts() const; //! Get the number of serialSync input ports //! //! \return The number of serialSync input ports - NATIVE_INT_TYPE getNum_serialSync_InputPorts() const; + FwIndexType getNum_serialSync_InputPorts() const; PROTECTED: @@ -712,46 +712,46 @@ class ActiveSerialComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -762,22 +762,22 @@ class ActiveSerialComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: @@ -788,7 +788,7 @@ class ActiveSerialComponentBase : //! Get the number of serialOut output ports //! //! \return The number of serialOut output ports - NATIVE_INT_TYPE getNum_serialOut_OutputPorts() const; + FwIndexType getNum_serialOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp index de04e8724..512930976 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1449,194 +1449,194 @@ ActiveSyncProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveSyncProductsComponentBase :: +FwIndexType ActiveSyncProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1856,7 +1856,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1986,7 +1986,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2093,7 +2093,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2200,7 +2200,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2307,7 +2307,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2826,7 +2826,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp index 977b9c153..c0c49036a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class ActiveSyncProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class ActiveSyncProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class ActiveSyncProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class ActiveSyncProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp index 39d070128..e6cfac87c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1170,176 +1170,176 @@ ActiveTelemetryComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE ActiveTelemetryComponentBase :: +FwIndexType ActiveTelemetryComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1508,7 +1508,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1638,7 +1638,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1745,7 +1745,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1852,7 +1852,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1959,7 +1959,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2789,7 +2789,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveTelemetryComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp index abe166cff..e9fb15297 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp @@ -421,7 +421,7 @@ class ActiveTelemetryComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -432,67 +432,67 @@ class ActiveTelemetryComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -503,46 +503,46 @@ class ActiveTelemetryComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -553,22 +553,22 @@ class ActiveTelemetryComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp index ac7eedb4e..1f930ccec 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp @@ -82,7 +82,7 @@ namespace M { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1804,194 +1804,194 @@ namespace M { // Getters for numbers of special input ports // ---------------------------------------------------------------------- - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } - NATIVE_INT_TYPE ActiveTestComponentBase :: + FwIndexType ActiveTestComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -2192,7 +2192,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2259,7 +2259,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2389,7 +2389,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2496,7 +2496,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2603,7 +2603,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2710,7 +2710,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3152,7 +3152,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3188,7 +3188,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3228,7 +3228,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3276,7 +3276,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3314,7 +3314,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3356,7 +3356,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4055,7 +4055,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4114,7 +4114,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4173,7 +4173,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4232,7 +4232,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4296,7 +4296,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5673,7 +5673,7 @@ namespace M { // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp index e6dfb5f75..c1a8263a6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp @@ -652,12 +652,12 @@ namespace M { //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -668,67 +668,67 @@ namespace M { //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -739,56 +739,56 @@ namespace M { //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -799,22 +799,22 @@ namespace M { //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp index 7128c1997..59f860c47 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp @@ -20,7 +20,7 @@ namespace Ports { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputNoArgsPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.hpp index 399cc9ff8..5eae4cb55 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.hpp @@ -45,7 +45,7 @@ namespace Ports { //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsReturnPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsReturnPortAc.ref.hpp index 8d688de2c..e56e6ff67 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsReturnPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsReturnPortAc.ref.hpp @@ -44,7 +44,7 @@ namespace Ports { //! The port callback function type typedef U32 (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp index 3f30b1ed5..9acb10b80 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp @@ -981,146 +981,146 @@ PassiveCommandsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveCommandsComponentBase :: +FwIndexType PassiveCommandsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp index 49dd49247..31bc09824 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp @@ -392,7 +392,7 @@ class PassiveCommandsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -403,42 +403,42 @@ class PassiveCommandsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -449,46 +449,46 @@ class PassiveCommandsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -499,22 +499,22 @@ class PassiveCommandsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp index 8fbcd9890..d03c5409e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp @@ -925,146 +925,146 @@ PassiveEventsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveEventsComponentBase :: +FwIndexType PassiveEventsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp index 4c6a1318d..260d5d8ef 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp @@ -383,7 +383,7 @@ class PassiveEventsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -394,42 +394,42 @@ class PassiveEventsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -440,46 +440,46 @@ class PassiveEventsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -490,22 +490,22 @@ class PassiveEventsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp index 22af952f1..c78486699 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp @@ -136,16 +136,16 @@ PassiveGetProductPortsOnlyComponentBase :: // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductPortsOnlyComponentBase :: +FwIndexType PassiveGetProductPortsOnlyComponentBase :: getNum_productGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductPortsOnlyComponentBase :: +FwIndexType PassiveGetProductPortsOnlyComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp index a76003d29..64c700b96 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp @@ -109,12 +109,12 @@ class PassiveGetProductPortsOnlyComponentBase : //! Get the number of productGetOut output ports //! //! \return The number of productGetOut output ports - NATIVE_INT_TYPE getNum_productGetOut_OutputPorts() const; + FwIndexType getNum_productGetOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp index b02a51f9b..01c9900e3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp @@ -1158,158 +1158,158 @@ PassiveGetProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_productGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGetProductsComponentBase :: +FwIndexType PassiveGetProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp index ebdf5c3f0..2038c138e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp @@ -487,7 +487,7 @@ class PassiveGetProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -498,42 +498,42 @@ class PassiveGetProductsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -544,56 +544,56 @@ class PassiveGetProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productGetOut output ports //! //! \return The number of productGetOut output ports - NATIVE_INT_TYPE getNum_productGetOut_OutputPorts() const; + FwIndexType getNum_productGetOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -604,22 +604,22 @@ class PassiveGetProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp index 3c8cb0df0..20c0da12f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp @@ -1207,164 +1207,164 @@ PassiveGuardedProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveGuardedProductsComponentBase :: +FwIndexType PassiveGuardedProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp index f0a2ad95d..ffeab267a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp @@ -502,12 +502,12 @@ class PassiveGuardedProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -518,42 +518,42 @@ class PassiveGuardedProductsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -564,56 +564,56 @@ class PassiveGuardedProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -624,22 +624,22 @@ class PassiveGuardedProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp index c3a33d90b..1e067e7ac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp @@ -1161,146 +1161,146 @@ PassiveParamsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveParamsComponentBase :: +FwIndexType PassiveParamsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp index 981a3271b..17bcc966b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp @@ -415,7 +415,7 @@ class PassiveParamsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -426,42 +426,42 @@ class PassiveParamsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -472,46 +472,46 @@ class PassiveParamsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -522,22 +522,22 @@ class PassiveParamsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index 3dd86f2da..9fdc59208 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -1335,172 +1335,172 @@ PassiveSerialComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_serialGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_serialSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialComponentBase :: +FwIndexType PassiveSerialComponentBase :: getNum_serialOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index f0db8761e..d648760ca 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -514,7 +514,7 @@ class PassiveSerialComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -525,42 +525,42 @@ class PassiveSerialComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -571,12 +571,12 @@ class PassiveSerialComponentBase : //! Get the number of serialGuarded input ports //! //! \return The number of serialGuarded input ports - NATIVE_INT_TYPE getNum_serialGuarded_InputPorts() const; + FwIndexType getNum_serialGuarded_InputPorts() const; //! Get the number of serialSync input ports //! //! \return The number of serialSync input ports - NATIVE_INT_TYPE getNum_serialSync_InputPorts() const; + FwIndexType getNum_serialSync_InputPorts() const; PROTECTED: @@ -587,46 +587,46 @@ class PassiveSerialComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -637,22 +637,22 @@ class PassiveSerialComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: @@ -663,7 +663,7 @@ class PassiveSerialComponentBase : //! Get the number of serialOut output ports //! //! \return The number of serialOut output ports - NATIVE_INT_TYPE getNum_serialOut_OutputPorts() const; + FwIndexType getNum_serialOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp index db330fecb..83a82164e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp @@ -189,26 +189,26 @@ PassiveSyncProductPortsOnlyComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyComponentBase :: +FwIndexType PassiveSyncProductPortsOnlyComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyComponentBase :: +FwIndexType PassiveSyncProductPortsOnlyComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyComponentBase :: +FwIndexType PassiveSyncProductPortsOnlyComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp index 1a899b47c..12cfec249 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp @@ -134,7 +134,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -145,12 +145,12 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp index 69e57f456..49cbeddb2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp @@ -1207,164 +1207,164 @@ PassiveSyncProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveSyncProductsComponentBase :: +FwIndexType PassiveSyncProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp index 472bd4b4a..1c0173552 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp @@ -502,12 +502,12 @@ class PassiveSyncProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -518,42 +518,42 @@ class PassiveSyncProductsComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -564,56 +564,56 @@ class PassiveSyncProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -624,22 +624,22 @@ class PassiveSyncProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp index 94dc7a1de..76935dfbf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp @@ -928,146 +928,146 @@ PassiveTelemetryComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTelemetryComponentBase :: +FwIndexType PassiveTelemetryComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp index ca6cdab7d..211f79d30 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp @@ -380,7 +380,7 @@ class PassiveTelemetryComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -391,42 +391,42 @@ class PassiveTelemetryComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -437,46 +437,46 @@ class PassiveTelemetryComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -487,22 +487,22 @@ class PassiveTelemetryComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp index 6ec6076f7..accf0236a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp @@ -1504,164 +1504,164 @@ PassiveTestComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE PassiveTestComponentBase :: +FwIndexType PassiveTestComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp index fb218dc65..be4b6dbcc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp @@ -603,12 +603,12 @@ class PassiveTestComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -619,42 +619,42 @@ class PassiveTestComponentBase : //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -665,56 +665,56 @@ class PassiveTestComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -725,22 +725,22 @@ class PassiveTestComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp index 08ffeb73b..7dbcf2d90 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp @@ -36,7 +36,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -248,26 +248,26 @@ QueuedAsyncProductPortsOnlyComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyComponentBase :: +FwIndexType QueuedAsyncProductPortsOnlyComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyComponentBase :: +FwIndexType QueuedAsyncProductPortsOnlyComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyComponentBase :: +FwIndexType QueuedAsyncProductPortsOnlyComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -328,7 +328,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -458,7 +458,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductPortsOnlyComponentB // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp index 5fa2d6c25..f33b63c58 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp @@ -135,7 +135,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -146,12 +146,12 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp index 40eec69a4..e8665243c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp @@ -46,7 +46,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1451,194 +1451,194 @@ QueuedAsyncProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedAsyncProductsComponentBase :: +FwIndexType QueuedAsyncProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1839,7 +1839,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1906,7 +1906,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2036,7 +2036,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2143,7 +2143,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2250,7 +2250,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2357,7 +2357,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2876,7 +2876,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp index f0d948aab..b1afa79cc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class QueuedAsyncProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class QueuedAsyncProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class QueuedAsyncProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class QueuedAsyncProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp index b6d70d51d..b80de8108 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp @@ -49,7 +49,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1248,176 +1248,176 @@ QueuedCommandsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedCommandsComponentBase :: +FwIndexType QueuedCommandsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1586,7 +1586,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1716,7 +1716,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1823,7 +1823,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1930,7 +1930,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2037,7 +2037,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3076,7 +3076,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3135,7 +3135,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3194,7 +3194,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3253,7 +3253,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3317,7 +3317,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3492,7 +3492,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedCommandsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp index 21eb54c9b..733be6035 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp @@ -438,7 +438,7 @@ class QueuedCommandsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -449,67 +449,67 @@ class QueuedCommandsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -520,46 +520,46 @@ class QueuedCommandsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -570,22 +570,22 @@ class QueuedCommandsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp index baca3c75b..7ef4903e7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1167,176 +1167,176 @@ QueuedEventsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedEventsComponentBase :: +FwIndexType QueuedEventsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1505,7 +1505,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1635,7 +1635,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1742,7 +1742,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1849,7 +1849,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1956,7 +1956,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3089,7 +3089,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedEventsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp index 41985df78..4d7c112ff 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp @@ -424,7 +424,7 @@ class QueuedEventsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -435,67 +435,67 @@ class QueuedEventsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -506,46 +506,46 @@ class QueuedEventsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -556,22 +556,22 @@ class QueuedEventsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp index 9c6a4eba1..ae390568f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1400,188 +1400,188 @@ QueuedGetProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_productGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGetProductsComponentBase :: +FwIndexType QueuedGetProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1772,7 +1772,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1902,7 +1902,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2009,7 +2009,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2116,7 +2116,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2223,7 +2223,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2725,7 +2725,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGetProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp index da49d0284..b192f19fb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp @@ -528,7 +528,7 @@ class QueuedGetProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -539,67 +539,67 @@ class QueuedGetProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -610,56 +610,56 @@ class QueuedGetProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productGetOut output ports //! //! \return The number of productGetOut output ports - NATIVE_INT_TYPE getNum_productGetOut_OutputPorts() const; + FwIndexType getNum_productGetOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -670,22 +670,22 @@ class QueuedGetProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp index ffb265297..f20b51b5f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1449,194 +1449,194 @@ QueuedGuardedProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedGuardedProductsComponentBase :: +FwIndexType QueuedGuardedProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1862,7 +1862,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1992,7 +1992,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2099,7 +2099,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2206,7 +2206,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2313,7 +2313,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2832,7 +2832,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGuardedProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp index e0deba252..9b12a5844 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class QueuedGuardedProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class QueuedGuardedProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class QueuedGuardedProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class QueuedGuardedProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp index 8922dcab9..d306b5a59 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp @@ -29,7 +29,7 @@ namespace { enum { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -332,44 +332,44 @@ QueuedNoArgsPortsOnlyComponentBase :: // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyComponentBase :: +FwIndexType QueuedNoArgsPortsOnlyComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -420,7 +420,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -588,7 +588,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedNoArgsPortsOnlyComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp index 0d4338cb0..a98fe63de 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp @@ -153,22 +153,22 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; PROTECTED: @@ -179,12 +179,12 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp index 59e5eb8fe..27cc26111 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1403,176 +1403,176 @@ QueuedParamsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedParamsComponentBase :: +FwIndexType QueuedParamsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1741,7 +1741,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1871,7 +1871,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1978,7 +1978,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2085,7 +2085,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2192,7 +2192,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2731,7 +2731,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedParamsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp index 9d166f229..35c19bd81 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp @@ -456,7 +456,7 @@ class QueuedParamsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -467,67 +467,67 @@ class QueuedParamsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -538,46 +538,46 @@ class QueuedParamsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -588,22 +588,22 @@ class QueuedParamsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index 8ecd502f0..3f391a055 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -82,7 +82,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -853,7 +853,7 @@ void QueuedSerialComponentBase :: this->m_msgSize = FW_MAX( msgSize + static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(I32)), + static_cast(sizeof(FwMsgIdType)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -1782,226 +1782,226 @@ QueuedSerialComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsync_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of serial output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialComponentBase :: +FwIndexType QueuedSerialComponentBase :: getNum_serialOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -2185,7 +2185,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2315,7 +2315,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2422,7 +2422,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2529,7 +2529,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2636,7 +2636,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2883,7 +2883,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNC_SERIAL) + static_cast(SERIALASYNC_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2933,7 +2933,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCASSERT_SERIAL) + static_cast(SERIALASYNCASSERT_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2983,7 +2983,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) + static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3033,7 +3033,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCDROPPRIORITY_SERIAL) + static_cast(SERIALASYNCDROPPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3339,7 +3339,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3375,7 +3375,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3415,7 +3415,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3463,7 +3463,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3501,7 +3501,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3543,7 +3543,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4242,7 +4242,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4301,7 +4301,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4360,7 +4360,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4419,7 +4419,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4483,7 +4483,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5837,7 +5837,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSerialComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index 54d421490..ca083baa7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -594,7 +594,7 @@ class QueuedSerialComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -605,67 +605,67 @@ class QueuedSerialComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -676,32 +676,32 @@ class QueuedSerialComponentBase : //! Get the number of serialAsync input ports //! //! \return The number of serialAsync input ports - NATIVE_INT_TYPE getNum_serialAsync_InputPorts() const; + FwIndexType getNum_serialAsync_InputPorts() const; //! Get the number of serialAsyncAssert input ports //! //! \return The number of serialAsyncAssert input ports - NATIVE_INT_TYPE getNum_serialAsyncAssert_InputPorts() const; + FwIndexType getNum_serialAsyncAssert_InputPorts() const; //! Get the number of serialAsyncBlockPriority input ports //! //! \return The number of serialAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_serialAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_serialAsyncBlockPriority_InputPorts() const; //! Get the number of serialAsyncDropPriority input ports //! //! \return The number of serialAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_serialAsyncDropPriority_InputPorts() const; + FwIndexType getNum_serialAsyncDropPriority_InputPorts() const; //! Get the number of serialGuarded input ports //! //! \return The number of serialGuarded input ports - NATIVE_INT_TYPE getNum_serialGuarded_InputPorts() const; + FwIndexType getNum_serialGuarded_InputPorts() const; //! Get the number of serialSync input ports //! //! \return The number of serialSync input ports - NATIVE_INT_TYPE getNum_serialSync_InputPorts() const; + FwIndexType getNum_serialSync_InputPorts() const; PROTECTED: @@ -712,46 +712,46 @@ class QueuedSerialComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -762,22 +762,22 @@ class QueuedSerialComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: @@ -788,7 +788,7 @@ class QueuedSerialComponentBase : //! Get the number of serialOut output ports //! //! \return The number of serialOut output ports - NATIVE_INT_TYPE getNum_serialOut_OutputPorts() const; + FwIndexType getNum_serialOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp index 75c47ea9e..fc27e33ad 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1449,194 +1449,194 @@ QueuedSyncProductsComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedSyncProductsComponentBase :: +FwIndexType QueuedSyncProductsComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1856,7 +1856,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1986,7 +1986,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2093,7 +2093,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2200,7 +2200,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2307,7 +2307,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2826,7 +2826,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp index c4ed8dea1..01135fd84 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp @@ -543,12 +543,12 @@ class QueuedSyncProductsComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -559,67 +559,67 @@ class QueuedSyncProductsComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -630,56 +630,56 @@ class QueuedSyncProductsComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -690,22 +690,22 @@ class QueuedSyncProductsComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp index 550c3351a..50b1c2303 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp @@ -44,7 +44,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1170,176 +1170,176 @@ QueuedTelemetryComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTelemetryComponentBase :: +FwIndexType QueuedTelemetryComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -1508,7 +1508,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1638,7 +1638,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1745,7 +1745,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1852,7 +1852,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1959,7 +1959,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2794,7 +2794,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTelemetryComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp index c0ee913ec..f82c24304 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp @@ -421,7 +421,7 @@ class QueuedTelemetryComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; PROTECTED: @@ -432,67 +432,67 @@ class QueuedTelemetryComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -503,46 +503,46 @@ class QueuedTelemetryComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -553,22 +553,22 @@ class QueuedTelemetryComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp index dc91485ed..068c7f1ae 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp @@ -80,7 +80,7 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(NATIVE_INT_TYPE) + + sizeof(FwMsgIdType) + sizeof(FwIndexType) }; @@ -1802,194 +1802,194 @@ QueuedTestComponentBase :: // Getters for numbers of special input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_cmdIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_productRecvIn_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed input ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedAsync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedAsyncAssert_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedAsyncBlockPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedAsyncDropPriority_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedReturnGuarded_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedReturnSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedSync_InputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of special output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_cmdRegOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_cmdResponseOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_eventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_prmGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_prmSetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_productRequestOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_productSendOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_textEventOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort)); } #endif -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_timeGetOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_tlmOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort)); } // ---------------------------------------------------------------------- // Getters for numbers of typed output ports // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_noArgsReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort)); } -NATIVE_INT_TYPE QueuedTestComponentBase :: +FwIndexType QueuedTestComponentBase :: getNum_typedReturnOut_OutputPorts() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort)); } // ---------------------------------------------------------------------- @@ -2190,7 +2190,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2257,7 +2257,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2387,7 +2387,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2494,7 +2494,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2601,7 +2601,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2708,7 +2708,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3150,7 +3150,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3186,7 +3186,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3226,7 +3226,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3274,7 +3274,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3312,7 +3312,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3354,7 +3354,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4053,7 +4053,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4112,7 +4112,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4171,7 +4171,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4230,7 +4230,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4294,7 +4294,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5676,7 +5676,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTestComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - NATIVE_INT_TYPE desMsg = 0; + FwMsgIdType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp index b099dac14..a8e73ae1e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp @@ -650,12 +650,12 @@ class QueuedTestComponentBase : //! Get the number of cmdIn input ports //! //! \return The number of cmdIn input ports - NATIVE_INT_TYPE getNum_cmdIn_InputPorts() const; + FwIndexType getNum_cmdIn_InputPorts() const; //! Get the number of productRecvIn input ports //! //! \return The number of productRecvIn input ports - NATIVE_INT_TYPE getNum_productRecvIn_InputPorts() const; + FwIndexType getNum_productRecvIn_InputPorts() const; PROTECTED: @@ -666,67 +666,67 @@ class QueuedTestComponentBase : //! Get the number of noArgsAsync input ports //! //! \return The number of noArgsAsync input ports - NATIVE_INT_TYPE getNum_noArgsAsync_InputPorts() const; + FwIndexType getNum_noArgsAsync_InputPorts() const; //! Get the number of noArgsGuarded input ports //! //! \return The number of noArgsGuarded input ports - NATIVE_INT_TYPE getNum_noArgsGuarded_InputPorts() const; + FwIndexType getNum_noArgsGuarded_InputPorts() const; //! Get the number of noArgsReturnGuarded input ports //! //! \return The number of noArgsReturnGuarded input ports - NATIVE_INT_TYPE getNum_noArgsReturnGuarded_InputPorts() const; + FwIndexType getNum_noArgsReturnGuarded_InputPorts() const; //! Get the number of noArgsReturnSync input ports //! //! \return The number of noArgsReturnSync input ports - NATIVE_INT_TYPE getNum_noArgsReturnSync_InputPorts() const; + FwIndexType getNum_noArgsReturnSync_InputPorts() const; //! Get the number of noArgsSync input ports //! //! \return The number of noArgsSync input ports - NATIVE_INT_TYPE getNum_noArgsSync_InputPorts() const; + FwIndexType getNum_noArgsSync_InputPorts() const; //! Get the number of typedAsync input ports //! //! \return The number of typedAsync input ports - NATIVE_INT_TYPE getNum_typedAsync_InputPorts() const; + FwIndexType getNum_typedAsync_InputPorts() const; //! Get the number of typedAsyncAssert input ports //! //! \return The number of typedAsyncAssert input ports - NATIVE_INT_TYPE getNum_typedAsyncAssert_InputPorts() const; + FwIndexType getNum_typedAsyncAssert_InputPorts() const; //! Get the number of typedAsyncBlockPriority input ports //! //! \return The number of typedAsyncBlockPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncBlockPriority_InputPorts() const; + FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const; //! Get the number of typedAsyncDropPriority input ports //! //! \return The number of typedAsyncDropPriority input ports - NATIVE_INT_TYPE getNum_typedAsyncDropPriority_InputPorts() const; + FwIndexType getNum_typedAsyncDropPriority_InputPorts() const; //! Get the number of typedGuarded input ports //! //! \return The number of typedGuarded input ports - NATIVE_INT_TYPE getNum_typedGuarded_InputPorts() const; + FwIndexType getNum_typedGuarded_InputPorts() const; //! Get the number of typedReturnGuarded input ports //! //! \return The number of typedReturnGuarded input ports - NATIVE_INT_TYPE getNum_typedReturnGuarded_InputPorts() const; + FwIndexType getNum_typedReturnGuarded_InputPorts() const; //! Get the number of typedReturnSync input ports //! //! \return The number of typedReturnSync input ports - NATIVE_INT_TYPE getNum_typedReturnSync_InputPorts() const; + FwIndexType getNum_typedReturnSync_InputPorts() const; //! Get the number of typedSync input ports //! //! \return The number of typedSync input ports - NATIVE_INT_TYPE getNum_typedSync_InputPorts() const; + FwIndexType getNum_typedSync_InputPorts() const; PROTECTED: @@ -737,56 +737,56 @@ class QueuedTestComponentBase : //! Get the number of cmdRegOut output ports //! //! \return The number of cmdRegOut output ports - NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts() const; + FwIndexType getNum_cmdRegOut_OutputPorts() const; //! Get the number of cmdResponseOut output ports //! //! \return The number of cmdResponseOut output ports - NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts() const; + FwIndexType getNum_cmdResponseOut_OutputPorts() const; //! Get the number of eventOut output ports //! //! \return The number of eventOut output ports - NATIVE_INT_TYPE getNum_eventOut_OutputPorts() const; + FwIndexType getNum_eventOut_OutputPorts() const; //! Get the number of prmGetOut output ports //! //! \return The number of prmGetOut output ports - NATIVE_INT_TYPE getNum_prmGetOut_OutputPorts() const; + FwIndexType getNum_prmGetOut_OutputPorts() const; //! Get the number of prmSetOut output ports //! //! \return The number of prmSetOut output ports - NATIVE_INT_TYPE getNum_prmSetOut_OutputPorts() const; + FwIndexType getNum_prmSetOut_OutputPorts() const; //! Get the number of productRequestOut output ports //! //! \return The number of productRequestOut output ports - NATIVE_INT_TYPE getNum_productRequestOut_OutputPorts() const; + FwIndexType getNum_productRequestOut_OutputPorts() const; //! Get the number of productSendOut output ports //! //! \return The number of productSendOut output ports - NATIVE_INT_TYPE getNum_productSendOut_OutputPorts() const; + FwIndexType getNum_productSendOut_OutputPorts() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of textEventOut output ports //! //! \return The number of textEventOut output ports - NATIVE_INT_TYPE getNum_textEventOut_OutputPorts() const; + FwIndexType getNum_textEventOut_OutputPorts() const; #endif //! Get the number of timeGetOut output ports //! //! \return The number of timeGetOut output ports - NATIVE_INT_TYPE getNum_timeGetOut_OutputPorts() const; + FwIndexType getNum_timeGetOut_OutputPorts() const; //! Get the number of tlmOut output ports //! //! \return The number of tlmOut output ports - NATIVE_INT_TYPE getNum_tlmOut_OutputPorts() const; + FwIndexType getNum_tlmOut_OutputPorts() const; PROTECTED: @@ -797,22 +797,22 @@ class QueuedTestComponentBase : //! Get the number of noArgsOut output ports //! //! \return The number of noArgsOut output ports - NATIVE_INT_TYPE getNum_noArgsOut_OutputPorts() const; + FwIndexType getNum_noArgsOut_OutputPorts() const; //! Get the number of noArgsReturnOut output ports //! //! \return The number of noArgsReturnOut output ports - NATIVE_INT_TYPE getNum_noArgsReturnOut_OutputPorts() const; + FwIndexType getNum_noArgsReturnOut_OutputPorts() const; //! Get the number of typedOut output ports //! //! \return The number of typedOut output ports - NATIVE_INT_TYPE getNum_typedOut_OutputPorts() const; + FwIndexType getNum_typedOut_OutputPorts() const; //! Get the number of typedReturnOut output ports //! //! \return The number of typedReturnOut output ports - NATIVE_INT_TYPE getNum_typedReturnOut_OutputPorts() const; + FwIndexType getNum_typedReturnOut_OutputPorts() const; PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp index b905074d6..7d6cfff24 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp @@ -103,7 +103,7 @@ namespace Ports { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputTypedPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp index 972b951fb..92e41603f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp @@ -115,7 +115,7 @@ namespace Ports { //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp index 1f72c943f..e39881c03 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp @@ -114,7 +114,7 @@ namespace Ports { //! The port callback function type typedef F32 (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, F32 f32, bool b, diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp index f8eecbb74..ab031bc52 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp @@ -88,22 +88,22 @@ ActiveAsyncProductPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyTesterBase :: +FwIndexType ActiveAsyncProductPortsOnlyTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyTesterBase :: +FwIndexType ActiveAsyncProductPortsOnlyTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE ActiveAsyncProductPortsOnlyTesterBase :: +FwIndexType ActiveAsyncProductPortsOnlyTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp index 427e1f820..8b09eb292 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp @@ -87,17 +87,17 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp index e1bb42783..40f5e6a82 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void ActiveAsyncProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveAsyncProductsTesterBase :: +FwIndexType ActiveAsyncProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp index c95d5b179..08ada67f7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class ActiveAsyncProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp index 6240d4793..c8329cee2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp @@ -1198,164 +1198,164 @@ void ActiveCommandsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveCommandsTesterBase :: +FwIndexType ActiveCommandsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp index 844cb21d0..3ea7f13fc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp @@ -561,136 +561,136 @@ class ActiveCommandsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp index 371be2292..3d78c673e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp @@ -1195,164 +1195,164 @@ void ActiveEventsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveEventsTesterBase :: +FwIndexType ActiveEventsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp index c0348f3c1..0760e9c62 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp @@ -594,136 +594,136 @@ class ActiveEventsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp index 71f89e5c6..cd019b3f1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp @@ -1203,176 +1203,176 @@ void ActiveGetProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_productGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveGetProductsTesterBase :: +FwIndexType ActiveGetProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp index 460ec86ca..419a7f2cd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp @@ -581,146 +581,146 @@ class ActiveGetProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productGetOut ports //! //! \return The number of from_productGetOut ports - NATIVE_INT_TYPE getNum_from_productGetOut() const; + FwIndexType getNum_from_productGetOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp index ec0395c8a..e22b50681 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void ActiveGuardedProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveGuardedProductsTesterBase :: +FwIndexType ActiveGuardedProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp index 7dff0fd80..d76d118f1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class ActiveGuardedProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp index 3e9854148..56f980ffa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp @@ -331,40 +331,40 @@ U32 ActiveNoArgsPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveNoArgsPortsOnlyTesterBase :: +FwIndexType ActiveNoArgsPortsOnlyTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp index e02d02936..d7b667ae9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp @@ -249,32 +249,32 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp index d012bac6e..6b34ba73e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp @@ -1252,164 +1252,164 @@ void ActiveParamsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveParamsTesterBase :: +FwIndexType ActiveParamsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp index c835ae070..c56bef595 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp @@ -561,136 +561,136 @@ class ActiveParamsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp index a2c538e49..f27711d7d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp @@ -1718,206 +1718,206 @@ void ActiveSerialTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncAssert)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_to_serialSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } -NATIVE_INT_TYPE ActiveSerialTesterBase :: +FwIndexType ActiveSerialTesterBase :: getNum_from_serialOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp index 087f3eeaf..957152f5f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp @@ -758,171 +758,171 @@ class ActiveSerialTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of to_serialAsync ports //! //! \return The number of to_serialAsync ports - NATIVE_INT_TYPE getNum_to_serialAsync() const; + FwIndexType getNum_to_serialAsync() const; //! Get the number of to_serialAsyncAssert ports //! //! \return The number of to_serialAsyncAssert ports - NATIVE_INT_TYPE getNum_to_serialAsyncAssert() const; + FwIndexType getNum_to_serialAsyncAssert() const; //! Get the number of to_serialAsyncBlockPriority ports //! //! \return The number of to_serialAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_serialAsyncBlockPriority() const; + FwIndexType getNum_to_serialAsyncBlockPriority() const; //! Get the number of to_serialAsyncDropPriority ports //! //! \return The number of to_serialAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_serialAsyncDropPriority() const; + FwIndexType getNum_to_serialAsyncDropPriority() const; //! Get the number of to_serialGuarded ports //! //! \return The number of to_serialGuarded ports - NATIVE_INT_TYPE getNum_to_serialGuarded() const; + FwIndexType getNum_to_serialGuarded() const; //! Get the number of to_serialSync ports //! //! \return The number of to_serialSync ports - NATIVE_INT_TYPE getNum_to_serialSync() const; + FwIndexType getNum_to_serialSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; //! Get the number of from_serialOut ports //! //! \return The number of from_serialOut ports - NATIVE_INT_TYPE getNum_from_serialOut() const; + FwIndexType getNum_from_serialOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp index c04dbc944..f33a7f04a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void ActiveSyncProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveSyncProductsTesterBase :: +FwIndexType ActiveSyncProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp index cd2116e62..07c855a83 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class ActiveSyncProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp index e28d19ec2..130839f10 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp @@ -1175,164 +1175,164 @@ void ActiveTelemetryTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE ActiveTelemetryTesterBase :: +FwIndexType ActiveTelemetryTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp index e7a479a38..28fdda00b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp @@ -620,136 +620,136 @@ class ActiveTelemetryTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp index 424a55f28..f4978badd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp @@ -1485,182 +1485,182 @@ namespace M { // Getters for port counts // ---------------------------------------------------------------------- - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } - NATIVE_INT_TYPE ActiveTestTesterBase :: + FwIndexType ActiveTestTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp index 6c131ff4c..6a3c5338f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp @@ -702,151 +702,151 @@ namespace M { //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp index ba3dfaeb5..57eea2b68 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp @@ -910,134 +910,134 @@ void PassiveCommandsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveCommandsTesterBase :: +FwIndexType PassiveCommandsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp index 05df2938e..2adf87279 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp @@ -478,111 +478,111 @@ class PassiveCommandsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp index d5445528b..ccdaccf0a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp @@ -907,134 +907,134 @@ void PassiveEventsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveEventsTesterBase :: +FwIndexType PassiveEventsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp index 4ba8016e4..17f134883 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp @@ -511,111 +511,111 @@ class PassiveEventsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp index 8f5beead6..291678feb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp @@ -70,14 +70,14 @@ PassiveGetProductPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductPortsOnlyTesterBase :: +FwIndexType PassiveGetProductPortsOnlyTesterBase :: getNum_from_productGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); } -NATIVE_INT_TYPE PassiveGetProductPortsOnlyTesterBase :: +FwIndexType PassiveGetProductPortsOnlyTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp index 6a2388b8e..951c826d6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp @@ -75,12 +75,12 @@ class PassiveGetProductPortsOnlyTesterBase : //! Get the number of from_productGetOut ports //! //! \return The number of from_productGetOut ports - NATIVE_INT_TYPE getNum_from_productGetOut() const; + FwIndexType getNum_from_productGetOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp index e81768b29..ed6576ee8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp @@ -915,146 +915,146 @@ void PassiveGetProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_productGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveGetProductsTesterBase :: +FwIndexType PassiveGetProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp index 7d8908bbf..22e9aec46 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp @@ -498,121 +498,121 @@ class PassiveGetProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productGetOut ports //! //! \return The number of from_productGetOut ports - NATIVE_INT_TYPE getNum_from_productGetOut() const; + FwIndexType getNum_from_productGetOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp index 0a28d5344..fc72c78fa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp @@ -948,152 +948,152 @@ void PassiveGuardedProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveGuardedProductsTesterBase :: +FwIndexType PassiveGuardedProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp index fbaf72369..3c4e03a15 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp @@ -504,126 +504,126 @@ class PassiveGuardedProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp index ae7d9abbb..3b2d2850f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp @@ -964,134 +964,134 @@ void PassiveParamsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveParamsTesterBase :: +FwIndexType PassiveParamsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp index 2693888ef..3e566b7e5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp @@ -478,111 +478,111 @@ class PassiveParamsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp index 54c3af242..b93a33dba 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp @@ -1234,152 +1234,152 @@ void PassiveSerialTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_serialGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_to_serialSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } -NATIVE_INT_TYPE PassiveSerialTesterBase :: +FwIndexType PassiveSerialTesterBase :: getNum_from_serialOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp index 2cfee43ed..8fb7a9628 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp @@ -627,126 +627,126 @@ class PassiveSerialTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of to_serialGuarded ports //! //! \return The number of to_serialGuarded ports - NATIVE_INT_TYPE getNum_to_serialGuarded() const; + FwIndexType getNum_to_serialGuarded() const; //! Get the number of to_serialSync ports //! //! \return The number of to_serialSync ports - NATIVE_INT_TYPE getNum_to_serialSync() const; + FwIndexType getNum_to_serialSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; //! Get the number of from_serialOut ports //! //! \return The number of from_serialOut ports - NATIVE_INT_TYPE getNum_from_serialOut() const; + FwIndexType getNum_from_serialOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp index bccd36a50..67213953c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp @@ -88,22 +88,22 @@ PassiveSyncProductPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyTesterBase :: +FwIndexType PassiveSyncProductPortsOnlyTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyTesterBase :: +FwIndexType PassiveSyncProductPortsOnlyTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE PassiveSyncProductPortsOnlyTesterBase :: +FwIndexType PassiveSyncProductPortsOnlyTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp index 1a8782024..7b6f94e1f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp @@ -87,17 +87,17 @@ class PassiveSyncProductPortsOnlyTesterBase : //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp index 3b33e2a4c..6ad2fa3a1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp @@ -948,152 +948,152 @@ void PassiveSyncProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveSyncProductsTesterBase :: +FwIndexType PassiveSyncProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp index fda2fca8e..31a741ed4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp @@ -504,126 +504,126 @@ class PassiveSyncProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp index 1f6fab285..56c7c51db 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp @@ -887,134 +887,134 @@ void PassiveTelemetryTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveTelemetryTesterBase :: +FwIndexType PassiveTelemetryTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp index f0fa90ffa..99098ce42 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp @@ -537,111 +537,111 @@ class PassiveTelemetryTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp index d74dfd51d..c3d42228b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp @@ -1195,152 +1195,152 @@ void PassiveTestTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE PassiveTestTesterBase :: +FwIndexType PassiveTestTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp index 9b78d5b67..80231ad03 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp @@ -617,126 +617,126 @@ class PassiveTestTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp index 38fb5cb03..d2d05c1a8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp @@ -88,22 +88,22 @@ QueuedAsyncProductPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyTesterBase :: +FwIndexType QueuedAsyncProductPortsOnlyTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyTesterBase :: +FwIndexType QueuedAsyncProductPortsOnlyTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE QueuedAsyncProductPortsOnlyTesterBase :: +FwIndexType QueuedAsyncProductPortsOnlyTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp index 4cd2a9743..0ccee358e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp @@ -87,17 +87,17 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp index 833de96cf..f65f732f9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void QueuedAsyncProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedAsyncProductsTesterBase :: +FwIndexType QueuedAsyncProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp index 3bbe08f3b..daefa6b4a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class QueuedAsyncProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp index c957b130d..2f6a3c705 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp @@ -1198,164 +1198,164 @@ void QueuedCommandsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedCommandsTesterBase :: +FwIndexType QueuedCommandsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp index 78cba8575..a5c2d0aa6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp @@ -561,136 +561,136 @@ class QueuedCommandsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp index 4f20c8d41..84044239c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp @@ -1195,164 +1195,164 @@ void QueuedEventsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedEventsTesterBase :: +FwIndexType QueuedEventsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp index a68ed3d69..d36170b6e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp @@ -594,136 +594,136 @@ class QueuedEventsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp index f7df329fa..71a28d1ab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp @@ -1203,176 +1203,176 @@ void QueuedGetProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_productGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productGetOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedGetProductsTesterBase :: +FwIndexType QueuedGetProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp index 1d4bb0af8..a8689aed9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp @@ -581,146 +581,146 @@ class QueuedGetProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productGetOut ports //! //! \return The number of from_productGetOut ports - NATIVE_INT_TYPE getNum_from_productGetOut() const; + FwIndexType getNum_from_productGetOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp index c75a1f8bd..2af720502 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void QueuedGuardedProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedGuardedProductsTesterBase :: +FwIndexType QueuedGuardedProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp index 25f76ff48..dd2b8edf8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class QueuedGuardedProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp index fc79ea496..227107106 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp @@ -331,40 +331,40 @@ U32 QueuedNoArgsPortsOnlyTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedNoArgsPortsOnlyTesterBase :: +FwIndexType QueuedNoArgsPortsOnlyTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp index ffc92369d..13ff04fe8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp @@ -249,32 +249,32 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp index 2c72a20da..6f4a146af 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp @@ -1252,164 +1252,164 @@ void QueuedParamsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedParamsTesterBase :: +FwIndexType QueuedParamsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp index 5b63b7667..0b740504c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp @@ -561,136 +561,136 @@ class QueuedParamsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp index a303d866d..e5b5347f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp @@ -1718,206 +1718,206 @@ void QueuedSerialTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncAssert)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialGuarded)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_to_serialSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_serialSync)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } -NATIVE_INT_TYPE QueuedSerialTesterBase :: +FwIndexType QueuedSerialTesterBase :: getNum_from_serialOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_serialOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp index b4afdf224..418789eb9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp @@ -758,171 +758,171 @@ class QueuedSerialTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of to_serialAsync ports //! //! \return The number of to_serialAsync ports - NATIVE_INT_TYPE getNum_to_serialAsync() const; + FwIndexType getNum_to_serialAsync() const; //! Get the number of to_serialAsyncAssert ports //! //! \return The number of to_serialAsyncAssert ports - NATIVE_INT_TYPE getNum_to_serialAsyncAssert() const; + FwIndexType getNum_to_serialAsyncAssert() const; //! Get the number of to_serialAsyncBlockPriority ports //! //! \return The number of to_serialAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_serialAsyncBlockPriority() const; + FwIndexType getNum_to_serialAsyncBlockPriority() const; //! Get the number of to_serialAsyncDropPriority ports //! //! \return The number of to_serialAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_serialAsyncDropPriority() const; + FwIndexType getNum_to_serialAsyncDropPriority() const; //! Get the number of to_serialGuarded ports //! //! \return The number of to_serialGuarded ports - NATIVE_INT_TYPE getNum_to_serialGuarded() const; + FwIndexType getNum_to_serialGuarded() const; //! Get the number of to_serialSync ports //! //! \return The number of to_serialSync ports - NATIVE_INT_TYPE getNum_to_serialSync() const; + FwIndexType getNum_to_serialSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; //! Get the number of from_serialOut ports //! //! \return The number of from_serialOut ports - NATIVE_INT_TYPE getNum_from_serialOut() const; + FwIndexType getNum_from_serialOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp index e29d52f8c..8d0d87702 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp @@ -1236,182 +1236,182 @@ void QueuedSyncProductsTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedSyncProductsTesterBase :: +FwIndexType QueuedSyncProductsTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp index ad73aca19..4beda452d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp @@ -587,151 +587,151 @@ class QueuedSyncProductsTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp index 7173579d4..0667e4161 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp @@ -1175,164 +1175,164 @@ void QueuedTelemetryTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedTelemetryTesterBase :: +FwIndexType QueuedTelemetryTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp index 1cb82fa7a..50130611a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp @@ -620,136 +620,136 @@ class QueuedTelemetryTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp index 3d417e029..3b46a743a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp @@ -1483,182 +1483,182 @@ void QueuedTestTesterBase :: // Getters for port counts // ---------------------------------------------------------------------- -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_cmdIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_cmdIn)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_productRecvIn() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_productRecvIn)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_noArgsAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsAsync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_noArgsGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsGuarded)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_noArgsReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnGuarded)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_noArgsReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsReturnSync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_noArgsSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_noArgsSync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedAsync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedAsyncAssert() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncAssert)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedAsyncBlockPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncBlockPriority)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedAsyncDropPriority() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedAsyncDropPriority)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedGuarded)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedReturnGuarded() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnGuarded)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedReturnSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedReturnSync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_to_typedSync() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_to_typedSync)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_cmdRegOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdRegOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_cmdResponseOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_cmdResponseOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_eventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_eventOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_prmGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmGetOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_prmSetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_prmSetOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_productRequestOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productRequestOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_productSendOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_productSendOut)); } #if FW_ENABLE_TEXT_LOGGING == 1 -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_textEventOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_textEventOut)); } #endif -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_timeGetOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_timeGetOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_tlmOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_tlmOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_noArgsOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_noArgsReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_noArgsReturnOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_typedOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedOut)); } -NATIVE_INT_TYPE QueuedTestTesterBase :: +FwIndexType QueuedTestTesterBase :: getNum_from_typedReturnOut() const { - return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); + return static_cast(FW_NUM_ARRAY_ELEMENTS(this->m_from_typedReturnOut)); } // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp index b9fc5fbb6..bafa919ab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp @@ -700,151 +700,151 @@ class QueuedTestTesterBase : //! Get the number of to_cmdIn ports //! //! \return The number of to_cmdIn ports - NATIVE_INT_TYPE getNum_to_cmdIn() const; + FwIndexType getNum_to_cmdIn() const; //! Get the number of to_productRecvIn ports //! //! \return The number of to_productRecvIn ports - NATIVE_INT_TYPE getNum_to_productRecvIn() const; + FwIndexType getNum_to_productRecvIn() const; //! Get the number of to_noArgsAsync ports //! //! \return The number of to_noArgsAsync ports - NATIVE_INT_TYPE getNum_to_noArgsAsync() const; + FwIndexType getNum_to_noArgsAsync() const; //! Get the number of to_noArgsGuarded ports //! //! \return The number of to_noArgsGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsGuarded() const; + FwIndexType getNum_to_noArgsGuarded() const; //! Get the number of to_noArgsReturnGuarded ports //! //! \return The number of to_noArgsReturnGuarded ports - NATIVE_INT_TYPE getNum_to_noArgsReturnGuarded() const; + FwIndexType getNum_to_noArgsReturnGuarded() const; //! Get the number of to_noArgsReturnSync ports //! //! \return The number of to_noArgsReturnSync ports - NATIVE_INT_TYPE getNum_to_noArgsReturnSync() const; + FwIndexType getNum_to_noArgsReturnSync() const; //! Get the number of to_noArgsSync ports //! //! \return The number of to_noArgsSync ports - NATIVE_INT_TYPE getNum_to_noArgsSync() const; + FwIndexType getNum_to_noArgsSync() const; //! Get the number of to_typedAsync ports //! //! \return The number of to_typedAsync ports - NATIVE_INT_TYPE getNum_to_typedAsync() const; + FwIndexType getNum_to_typedAsync() const; //! Get the number of to_typedAsyncAssert ports //! //! \return The number of to_typedAsyncAssert ports - NATIVE_INT_TYPE getNum_to_typedAsyncAssert() const; + FwIndexType getNum_to_typedAsyncAssert() const; //! Get the number of to_typedAsyncBlockPriority ports //! //! \return The number of to_typedAsyncBlockPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncBlockPriority() const; + FwIndexType getNum_to_typedAsyncBlockPriority() const; //! Get the number of to_typedAsyncDropPriority ports //! //! \return The number of to_typedAsyncDropPriority ports - NATIVE_INT_TYPE getNum_to_typedAsyncDropPriority() const; + FwIndexType getNum_to_typedAsyncDropPriority() const; //! Get the number of to_typedGuarded ports //! //! \return The number of to_typedGuarded ports - NATIVE_INT_TYPE getNum_to_typedGuarded() const; + FwIndexType getNum_to_typedGuarded() const; //! Get the number of to_typedReturnGuarded ports //! //! \return The number of to_typedReturnGuarded ports - NATIVE_INT_TYPE getNum_to_typedReturnGuarded() const; + FwIndexType getNum_to_typedReturnGuarded() const; //! Get the number of to_typedReturnSync ports //! //! \return The number of to_typedReturnSync ports - NATIVE_INT_TYPE getNum_to_typedReturnSync() const; + FwIndexType getNum_to_typedReturnSync() const; //! Get the number of to_typedSync ports //! //! \return The number of to_typedSync ports - NATIVE_INT_TYPE getNum_to_typedSync() const; + FwIndexType getNum_to_typedSync() const; //! Get the number of from_cmdRegOut ports //! //! \return The number of from_cmdRegOut ports - NATIVE_INT_TYPE getNum_from_cmdRegOut() const; + FwIndexType getNum_from_cmdRegOut() const; //! Get the number of from_cmdResponseOut ports //! //! \return The number of from_cmdResponseOut ports - NATIVE_INT_TYPE getNum_from_cmdResponseOut() const; + FwIndexType getNum_from_cmdResponseOut() const; //! Get the number of from_eventOut ports //! //! \return The number of from_eventOut ports - NATIVE_INT_TYPE getNum_from_eventOut() const; + FwIndexType getNum_from_eventOut() const; //! Get the number of from_prmGetOut ports //! //! \return The number of from_prmGetOut ports - NATIVE_INT_TYPE getNum_from_prmGetOut() const; + FwIndexType getNum_from_prmGetOut() const; //! Get the number of from_prmSetOut ports //! //! \return The number of from_prmSetOut ports - NATIVE_INT_TYPE getNum_from_prmSetOut() const; + FwIndexType getNum_from_prmSetOut() const; //! Get the number of from_productRequestOut ports //! //! \return The number of from_productRequestOut ports - NATIVE_INT_TYPE getNum_from_productRequestOut() const; + FwIndexType getNum_from_productRequestOut() const; //! Get the number of from_productSendOut ports //! //! \return The number of from_productSendOut ports - NATIVE_INT_TYPE getNum_from_productSendOut() const; + FwIndexType getNum_from_productSendOut() const; #if FW_ENABLE_TEXT_LOGGING == 1 //! Get the number of from_textEventOut ports //! //! \return The number of from_textEventOut ports - NATIVE_INT_TYPE getNum_from_textEventOut() const; + FwIndexType getNum_from_textEventOut() const; #endif //! Get the number of from_timeGetOut ports //! //! \return The number of from_timeGetOut ports - NATIVE_INT_TYPE getNum_from_timeGetOut() const; + FwIndexType getNum_from_timeGetOut() const; //! Get the number of from_tlmOut ports //! //! \return The number of from_tlmOut ports - NATIVE_INT_TYPE getNum_from_tlmOut() const; + FwIndexType getNum_from_tlmOut() const; //! Get the number of from_noArgsOut ports //! //! \return The number of from_noArgsOut ports - NATIVE_INT_TYPE getNum_from_noArgsOut() const; + FwIndexType getNum_from_noArgsOut() const; //! Get the number of from_noArgsReturnOut ports //! //! \return The number of from_noArgsReturnOut ports - NATIVE_INT_TYPE getNum_from_noArgsReturnOut() const; + FwIndexType getNum_from_noArgsReturnOut() const; //! Get the number of from_typedOut ports //! //! \return The number of from_typedOut ports - NATIVE_INT_TYPE getNum_from_typedOut() const; + FwIndexType getNum_from_typedOut() const; //! Get the number of from_typedReturnOut ports //! //! \return The number of from_typedReturnOut ports - NATIVE_INT_TYPE getNum_from_typedReturnOut() const; + FwIndexType getNum_from_typedReturnOut() const; protected: diff --git a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp index 076661381..64317a2f0 100644 --- a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputAbsTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.hpp index 1348a75e7..25f6794d7 100644 --- a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.hpp @@ -46,7 +46,7 @@ class InputAbsTypePort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, const T& t, T& tRef ); diff --git a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp index fd48ff284..b639a49b5 100644 --- a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputBuiltInTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.hpp index 4f10bc458..e4671f126 100644 --- a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.hpp @@ -45,7 +45,7 @@ class InputBuiltInTypePort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, FwOpcodeType t, FwOpcodeType& tRef ); diff --git a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp index caf681e67..ad4405cfb 100644 --- a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputEmptyPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.hpp index dee21801a..9bd250e51 100644 --- a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.hpp @@ -43,7 +43,7 @@ class InputEmptyPort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum + FwIndexType portNum ); public: diff --git a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp index 79e63d18e..f05b12db8 100644 --- a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputFppTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.hpp index bb3cb3e16..9e8472e9d 100644 --- a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.hpp @@ -52,7 +52,7 @@ class InputFppTypePort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, const E& e, E& eRef, const A& a, diff --git a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp index 9ba68f231..1d4d0ace5 100644 --- a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputKwdNamePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.hpp index 19800e5ca..0e42614a6 100644 --- a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.hpp @@ -44,7 +44,7 @@ class InputKwdNamePort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32& time ); diff --git a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp index 8f5d1dfff..4acec6a6c 100644 --- a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputPrimitivePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.hpp index 558e551bc..de2993821 100644 --- a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.hpp @@ -49,7 +49,7 @@ class InputPrimitivePort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u32, U32& u32Ref, F32 f32, diff --git a/compiler/tools/fpp-to-cpp/test/port/ReturnTypePortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/ReturnTypePortAc.ref.hpp index e800c06d8..6baec14d4 100644 --- a/compiler/tools/fpp-to-cpp/test/port/ReturnTypePortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/ReturnTypePortAc.ref.hpp @@ -45,7 +45,7 @@ namespace M { //! The port callback function type typedef U32 (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, U32 u ); diff --git a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp index 5fff8cfed..9602c7a84 100644 --- a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp @@ -180,7 +180,7 @@ namespace { public: - NATIVE_UINT_TYPE getBuffCapacity() const { + FwSizeType getBuffCapacity() const { return InputStringPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp index 2694d8a41..351eb4717 100644 --- a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp @@ -160,7 +160,7 @@ class InputStringPort : //! The port callback function type typedef void (*CompFuncPtr)( Fw::PassiveComponentBase* callComp, - NATIVE_INT_TYPE portNum, + FwIndexType portNum, const StringPortStrings::StringSize80& str80, StringPortStrings::StringSize80& str80Ref, const StringPortStrings::StringSize100& str100, diff --git a/compiler/tools/fpp-to-cpp/test/struct/EnumSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/EnumSerializableAc.ref.cpp index 5953e28be..3fdb0413d 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/EnumSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/EnumSerializableAc.ref.cpp @@ -20,7 +20,7 @@ Enum :: Serializable(), m_e(M::E::X) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = M::E::X; } } @@ -33,7 +33,7 @@ Enum :: Serializable(), m_e(e) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = eArr[i]; } } @@ -43,7 +43,7 @@ Enum :: Serializable(), m_e(obj.m_e) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = obj.m_eArr[i]; } } @@ -56,7 +56,7 @@ Enum :: Serializable(), m_e(e) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = eArr; } } @@ -86,7 +86,7 @@ bool Enum :: // Compare array members if (!(this->m_eArr == obj.m_eArr)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { if (!(this->m_eArr[i] == obj.m_eArr[i])) { return false; } @@ -126,7 +126,7 @@ Fw::SerializeStatus Enum :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.serialize(this->m_eArr[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -145,7 +145,7 @@ Fw::SerializeStatus Enum :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.deserialize(this->m_eArr[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -174,7 +174,7 @@ void Enum :: // Call toString for arrays and serializable types this->m_e.toString(eStr); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i].toString(eArrStr[i]); } @@ -207,7 +207,7 @@ void Enum :: { this->m_e = e; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = eArr[i]; } } @@ -221,7 +221,7 @@ void Enum :: void Enum :: seteArr(const Type_of_eArr& eArr) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_eArr[i] = eArr[i]; } } diff --git a/compiler/tools/fpp-to-cpp/test/struct/Modules3SerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/Modules3SerializableAc.ref.cpp index 5addce38a..eb301a10d 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/Modules3SerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/Modules3SerializableAc.ref.cpp @@ -20,7 +20,7 @@ Modules3 :: Serializable(), m_x(M::Modules1(0, 0.0f)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = M::Modules2(M::Modules1(0, 0.0f)); } } @@ -33,7 +33,7 @@ Modules3 :: Serializable(), m_x(x) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = arr[i]; } } @@ -43,7 +43,7 @@ Modules3 :: Serializable(), m_x(obj.m_x) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = obj.m_arr[i]; } } @@ -56,7 +56,7 @@ Modules3 :: Serializable(), m_x(x) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = arr; } } @@ -86,7 +86,7 @@ bool Modules3 :: // Compare array members if (!(this->m_arr == obj.m_arr)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { if (!(this->m_arr[i] == obj.m_arr[i])) { return false; } @@ -126,7 +126,7 @@ Fw::SerializeStatus Modules3 :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.serialize(this->m_arr[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -145,7 +145,7 @@ Fw::SerializeStatus Modules3 :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.deserialize(this->m_arr[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -174,7 +174,7 @@ void Modules3 :: // Call toString for arrays and serializable types this->m_x.toString(xStr); - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i].toString(arrStr[i]); } @@ -207,7 +207,7 @@ void Modules3 :: { this->m_x = x; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = arr[i]; } } @@ -221,7 +221,7 @@ void Modules3 :: void Modules3 :: setarr(const Type_of_arr& arr) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr[i] = arr[i]; } } diff --git a/compiler/tools/fpp-to-cpp/test/struct/Modules4SerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/Modules4SerializableAc.ref.cpp index 816893b45..8fe0f217b 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/Modules4SerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/Modules4SerializableAc.ref.cpp @@ -19,10 +19,10 @@ Modules4 :: Modules4() : Serializable() { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = M::Modules2(M::Modules1(0, 0.0f)); } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = M::Modules2(M::Modules1(0, 0.0f)); } } @@ -34,10 +34,10 @@ Modules4 :: ) : Serializable() { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = arr1[i]; } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = arr2[i]; } } @@ -46,10 +46,10 @@ Modules4 :: Modules4(const Modules4& obj) : Serializable() { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = obj.m_arr1[i]; } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = obj.m_arr2[i]; } } @@ -61,10 +61,10 @@ Modules4 :: ) : Serializable() { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = arr1; } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = arr2; } } @@ -91,14 +91,14 @@ bool Modules4 :: // Compare array members if (!(this->m_arr1 == obj.m_arr1)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { if (!(this->m_arr1[i] == obj.m_arr1[i])) { return false; } } } if (!(this->m_arr2 == obj.m_arr2)) { - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { if (!(this->m_arr2[i] == obj.m_arr2[i])) { return false; } @@ -134,13 +134,13 @@ Fw::SerializeStatus Modules4 :: { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.serialize(this->m_arr1[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; } } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { status = buffer.serialize(this->m_arr2[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -155,13 +155,13 @@ Fw::SerializeStatus Modules4 :: { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.deserialize(this->m_arr1[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; } } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { status = buffer.deserialize(this->m_arr2[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -194,10 +194,10 @@ void Modules4 :: Fw::String arr2Str[6]; // Call toString for arrays and serializable types - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i].toString(arr1Str[i]); } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i].toString(arr2Str[i]); } @@ -234,10 +234,10 @@ void Modules4 :: ) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = arr1[i]; } - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = arr2[i]; } } @@ -245,7 +245,7 @@ void Modules4 :: void Modules4 :: setarr1(const Type_of_arr1& arr1) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_arr1[i] = arr1[i]; } } @@ -253,7 +253,7 @@ void Modules4 :: void Modules4 :: setarr2(const Type_of_arr2& arr2) { - for (NATIVE_UINT_TYPE i = 0; i < 6; i++) { + for (FwSizeType i = 0; i < 6; i++) { this->m_arr2[i] = arr2[i]; } } diff --git a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp index f00f9a8b6..5a5b92a4b 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp @@ -109,7 +109,7 @@ Primitive :: m_m_bool(false), m_m_string("") { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = 0.0f; } } @@ -142,7 +142,7 @@ Primitive :: m_m_bool(m_bool), m_m_string(m_string) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = mF32[i]; } } @@ -162,7 +162,7 @@ Primitive :: m_m_bool(obj.m_m_bool), m_m_string(obj.m_m_string) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = obj.m_mF32[i]; } } @@ -195,7 +195,7 @@ Primitive :: m_m_bool(m_bool), m_m_string(m_string) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = mF32; } } @@ -237,7 +237,7 @@ bool Primitive :: // Compare array members if (!(this->m_mF32 == obj.m_mF32)) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { if (!(this->m_mF32[i] == obj.m_mF32[i])) { return false; } @@ -273,7 +273,7 @@ Fw::SerializeStatus Primitive :: { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.serialize(this->m_mF32[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -332,7 +332,7 @@ Fw::SerializeStatus Primitive :: { Fw::SerializeStatus status; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { status = buffer.deserialize(this->m_mF32[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -468,7 +468,7 @@ void Primitive :: this->m_m_bool = m_bool; this->m_m_string = m_string; - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = mF32[i]; } } @@ -476,7 +476,7 @@ void Primitive :: void Primitive :: setmF32(const Type_of_mF32& mF32) { - for (NATIVE_UINT_TYPE i = 0; i < 3; i++) { + for (FwSizeType i = 0; i < 3; i++) { this->m_mF32[i] = mF32[i]; } } diff --git a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp index b19899841..711254259 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp @@ -178,7 +178,7 @@ StringArray :: Serializable(), m_s1("") { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = ""; } } @@ -191,7 +191,7 @@ StringArray :: Serializable(), m_s1(s1) { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = s2[i]; } } @@ -201,7 +201,7 @@ StringArray :: Serializable(), m_s1(obj.m_s1) { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = obj.m_s2[i]; } } @@ -214,7 +214,7 @@ StringArray :: Serializable(), m_s1(s1) { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = s2; } } @@ -244,7 +244,7 @@ bool StringArray :: // Compare array members if (!(this->m_s2 == obj.m_s2)) { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { if (!(this->m_s2[i] == obj.m_s2[i])) { return false; } @@ -284,7 +284,7 @@ Fw::SerializeStatus StringArray :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { status = buffer.serialize(this->m_s2[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -303,7 +303,7 @@ Fw::SerializeStatus StringArray :: if (status != Fw::FW_SERIALIZE_OK) { return status; } - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { status = buffer.deserialize(this->m_s2[i]); if (status != Fw::FW_SERIALIZE_OK) { return status; @@ -381,7 +381,7 @@ void StringArray :: { this->m_s1 = s1; - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = s2[i]; } } @@ -395,7 +395,7 @@ void StringArray :: void StringArray :: sets2(const Type_of_s2& s2) { - for (NATIVE_UINT_TYPE i = 0; i < 16; i++) { + for (FwSizeType i = 0; i < 16; i++) { this->m_s2[i] = s2[i]; } } From b2c1619ae3e2833430ce4695a6a7dec7472740eb Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Tue, 27 Feb 2024 20:35:45 -0800 Subject: [PATCH 03/11] Revise C++ code gen Eliminate native int types --- .../ComponentCppWriter.scala | 11 ++-- .../ComponentCppWriterUtils.scala | 6 +- .../ComponentCppWriter/ComponentEvents.scala | 4 +- .../TestWriter/ComponentTestImplWriter.scala | 6 +- .../ComponentTesterBaseWriter.scala | 8 +-- ...veAsyncProductPortsOnlyComponentAc.ref.cpp | 6 +- ...veAsyncProductPortsOnlyComponentAc.ref.hpp | 4 +- .../ActiveAsyncProductsComponentAc.ref.cpp | 6 +- .../ActiveAsyncProductsComponentAc.ref.hpp | 4 +- .../base/ActiveCommandsComponentAc.ref.cpp | 6 +- .../base/ActiveCommandsComponentAc.ref.hpp | 4 +- .../base/ActiveEventsComponentAc.ref.cpp | 6 +- .../base/ActiveEventsComponentAc.ref.hpp | 10 ++-- .../base/ActiveGetProductsComponentAc.ref.cpp | 6 +- .../base/ActiveGetProductsComponentAc.ref.hpp | 4 +- .../ActiveGuardedProductsComponentAc.ref.cpp | 6 +- .../ActiveGuardedProductsComponentAc.ref.hpp | 4 +- .../ActiveNoArgsPortsOnlyComponentAc.ref.cpp | 6 +- .../ActiveNoArgsPortsOnlyComponentAc.ref.hpp | 4 +- .../base/ActiveParamsComponentAc.ref.cpp | 6 +- .../base/ActiveParamsComponentAc.ref.hpp | 4 +- .../base/ActiveSerialComponentAc.ref.cpp | 15 +++-- .../base/ActiveSerialComponentAc.ref.hpp | 14 ++--- .../ActiveSyncProductsComponentAc.ref.cpp | 6 +- .../ActiveSyncProductsComponentAc.ref.hpp | 4 +- .../base/ActiveTelemetryComponentAc.ref.cpp | 6 +- .../base/ActiveTelemetryComponentAc.ref.hpp | 4 +- .../base/ActiveTestComponentAc.ref.cpp | 6 +- .../base/ActiveTestComponentAc.ref.hpp | 10 ++-- .../component/base/EmptyComponentAc.ref.cpp | 2 +- .../component/base/EmptyComponentAc.ref.hpp | 2 +- .../base/PassiveCommandsComponentAc.ref.cpp | 2 +- .../base/PassiveCommandsComponentAc.ref.hpp | 2 +- .../base/PassiveEventsComponentAc.ref.cpp | 2 +- .../base/PassiveEventsComponentAc.ref.hpp | 8 +-- ...siveGetProductPortsOnlyComponentAc.ref.cpp | 2 +- ...siveGetProductPortsOnlyComponentAc.ref.hpp | 2 +- .../PassiveGetProductsComponentAc.ref.cpp | 2 +- .../PassiveGetProductsComponentAc.ref.hpp | 2 +- .../PassiveGuardedProductsComponentAc.ref.cpp | 2 +- .../PassiveGuardedProductsComponentAc.ref.hpp | 2 +- .../base/PassiveParamsComponentAc.ref.cpp | 2 +- .../base/PassiveParamsComponentAc.ref.hpp | 2 +- .../base/PassiveSerialComponentAc.ref.cpp | 2 +- .../base/PassiveSerialComponentAc.ref.hpp | 8 +-- ...iveSyncProductPortsOnlyComponentAc.ref.cpp | 2 +- ...iveSyncProductPortsOnlyComponentAc.ref.hpp | 2 +- .../PassiveSyncProductsComponentAc.ref.cpp | 2 +- .../PassiveSyncProductsComponentAc.ref.hpp | 2 +- .../base/PassiveTelemetryComponentAc.ref.cpp | 2 +- .../base/PassiveTelemetryComponentAc.ref.hpp | 2 +- .../base/PassiveTestComponentAc.ref.cpp | 2 +- .../base/PassiveTestComponentAc.ref.hpp | 8 +-- ...edAsyncProductPortsOnlyComponentAc.ref.cpp | 6 +- ...edAsyncProductPortsOnlyComponentAc.ref.hpp | 4 +- .../QueuedAsyncProductsComponentAc.ref.cpp | 6 +- .../QueuedAsyncProductsComponentAc.ref.hpp | 4 +- .../base/QueuedCommandsComponentAc.ref.cpp | 6 +- .../base/QueuedCommandsComponentAc.ref.hpp | 4 +- .../base/QueuedEventsComponentAc.ref.cpp | 6 +- .../base/QueuedEventsComponentAc.ref.hpp | 10 ++-- .../base/QueuedGetProductsComponentAc.ref.cpp | 6 +- .../base/QueuedGetProductsComponentAc.ref.hpp | 4 +- .../QueuedGuardedProductsComponentAc.ref.cpp | 6 +- .../QueuedGuardedProductsComponentAc.ref.hpp | 4 +- .../QueuedNoArgsPortsOnlyComponentAc.ref.cpp | 6 +- .../QueuedNoArgsPortsOnlyComponentAc.ref.hpp | 4 +- .../base/QueuedParamsComponentAc.ref.cpp | 6 +- .../base/QueuedParamsComponentAc.ref.hpp | 4 +- .../base/QueuedSerialComponentAc.ref.cpp | 15 +++-- .../base/QueuedSerialComponentAc.ref.hpp | 14 ++--- .../QueuedSyncProductsComponentAc.ref.cpp | 6 +- .../QueuedSyncProductsComponentAc.ref.hpp | 4 +- .../base/QueuedTelemetryComponentAc.ref.cpp | 6 +- .../base/QueuedTelemetryComponentAc.ref.hpp | 4 +- .../base/QueuedTestComponentAc.ref.cpp | 6 +- .../base/QueuedTestComponentAc.ref.hpp | 10 ++-- ...iveAsyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...iveAsyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../ActiveAsyncProductsTesterBase.ref.cpp | 2 +- .../ActiveAsyncProductsTesterBase.ref.hpp | 2 +- .../ActiveCommandsTesterBase.ref.cpp | 36 +++++------ .../ActiveCommandsTesterBase.ref.hpp | 36 +++++------ .../test-base/ActiveEventsTesterBase.ref.cpp | 2 +- .../test-base/ActiveEventsTesterBase.ref.hpp | 2 +- .../ActiveGetProductsTesterBase.ref.cpp | 2 +- .../ActiveGetProductsTesterBase.ref.hpp | 2 +- .../ActiveGuardedProductsTesterBase.ref.cpp | 2 +- .../ActiveGuardedProductsTesterBase.ref.hpp | 2 +- .../ActiveNoArgsPortsOnlyTesterBase.ref.cpp | 2 +- .../ActiveNoArgsPortsOnlyTesterBase.ref.hpp | 2 +- .../test-base/ActiveParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/ActiveParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/ActiveSerialTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/ActiveSerialTesterBase.ref.hpp | 60 +++++++++---------- .../ActiveSyncProductsTesterBase.ref.cpp | 2 +- .../ActiveSyncProductsTesterBase.ref.hpp | 2 +- .../ActiveTelemetryTesterBase.ref.cpp | 2 +- .../ActiveTelemetryTesterBase.ref.hpp | 2 +- .../test-base/ActiveTestTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/ActiveTestTesterBase.ref.hpp | 60 +++++++++---------- .../test-base/EmptyTesterBase.ref.cpp | 2 +- .../test-base/EmptyTesterBase.ref.hpp | 2 +- .../PassiveCommandsTesterBase.ref.cpp | 26 ++++---- .../PassiveCommandsTesterBase.ref.hpp | 26 ++++---- .../test-base/PassiveEventsTesterBase.ref.cpp | 2 +- .../test-base/PassiveEventsTesterBase.ref.hpp | 2 +- ...ssiveGetProductPortsOnlyTesterBase.ref.cpp | 2 +- ...ssiveGetProductPortsOnlyTesterBase.ref.hpp | 2 +- .../PassiveGetProductsTesterBase.ref.cpp | 2 +- .../PassiveGetProductsTesterBase.ref.hpp | 2 +- .../PassiveGuardedProductsTesterBase.ref.cpp | 2 +- .../PassiveGuardedProductsTesterBase.ref.hpp | 2 +- .../test-base/PassiveParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/PassiveParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/PassiveSerialTesterBase.ref.cpp | 50 ++++++++-------- .../test-base/PassiveSerialTesterBase.ref.hpp | 50 ++++++++-------- ...siveSyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...siveSyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../PassiveSyncProductsTesterBase.ref.cpp | 2 +- .../PassiveSyncProductsTesterBase.ref.hpp | 2 +- .../PassiveTelemetryTesterBase.ref.cpp | 2 +- .../PassiveTelemetryTesterBase.ref.hpp | 2 +- .../test-base/PassiveTestTesterBase.ref.cpp | 50 ++++++++-------- .../test-base/PassiveTestTesterBase.ref.hpp | 50 ++++++++-------- ...uedAsyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...uedAsyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../QueuedAsyncProductsTesterBase.ref.cpp | 2 +- .../QueuedAsyncProductsTesterBase.ref.hpp | 2 +- .../QueuedCommandsTesterBase.ref.cpp | 36 +++++------ .../QueuedCommandsTesterBase.ref.hpp | 36 +++++------ .../test-base/QueuedEventsTesterBase.ref.cpp | 2 +- .../test-base/QueuedEventsTesterBase.ref.hpp | 2 +- .../QueuedGetProductsTesterBase.ref.cpp | 2 +- .../QueuedGetProductsTesterBase.ref.hpp | 2 +- .../QueuedGuardedProductsTesterBase.ref.cpp | 2 +- .../QueuedGuardedProductsTesterBase.ref.hpp | 2 +- .../QueuedNoArgsPortsOnlyTesterBase.ref.cpp | 2 +- .../QueuedNoArgsPortsOnlyTesterBase.ref.hpp | 2 +- .../test-base/QueuedParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/QueuedParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/QueuedSerialTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/QueuedSerialTesterBase.ref.hpp | 60 +++++++++---------- .../QueuedSyncProductsTesterBase.ref.cpp | 2 +- .../QueuedSyncProductsTesterBase.ref.hpp | 2 +- .../QueuedTelemetryTesterBase.ref.cpp | 2 +- .../QueuedTelemetryTesterBase.ref.hpp | 2 +- .../test-base/QueuedTestTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/QueuedTestTesterBase.ref.hpp | 60 +++++++++---------- .../ActiveAsyncProductPortsOnlyTester.ref.hpp | 6 +- .../ActiveAsyncProductsTester.ref.hpp | 6 +- .../test-impl/ActiveCommandsTester.ref.hpp | 6 +- .../test-impl/ActiveEventsTester.ref.hpp | 6 +- .../test-impl/ActiveGetProductsTester.ref.hpp | 6 +- .../ActiveGuardedProductsTester.ref.hpp | 6 +- .../ActiveNoArgsPortsOnlyTester.ref.hpp | 6 +- .../test-impl/ActiveParamsTester.ref.hpp | 6 +- .../test-impl/ActiveSerialTester.ref.hpp | 6 +- .../ActiveSyncProductsTester.ref.hpp | 6 +- .../test-impl/ActiveTelemetryTester.ref.hpp | 6 +- .../test-impl/ActiveTestTester.ref.hpp | 6 +- .../component/test-impl/EmptyTester.ref.hpp | 4 +- .../test-impl/PassiveCommandsTester.ref.hpp | 4 +- .../test-impl/PassiveEventsTester.ref.hpp | 4 +- .../PassiveGetProductPortsOnlyTester.ref.hpp | 4 +- .../PassiveGetProductsTester.ref.hpp | 4 +- .../PassiveGuardedProductsTester.ref.hpp | 4 +- .../test-impl/PassiveParamsTester.ref.hpp | 4 +- .../test-impl/PassiveSerialTester.ref.hpp | 4 +- .../PassiveSyncProductPortsOnlyTester.ref.hpp | 4 +- .../PassiveSyncProductsTester.ref.hpp | 4 +- .../test-impl/PassiveTelemetryTester.ref.hpp | 4 +- .../test-impl/PassiveTestTester.ref.hpp | 4 +- .../test-impl/QueuedCommandsTester.ref.hpp | 6 +- .../test-impl/QueuedEventsTester.ref.hpp | 6 +- .../test-impl/QueuedGetProductsTester.ref.hpp | 6 +- .../QueuedGuardedProductsTester.ref.hpp | 6 +- .../test-impl/QueuedParamsTester.ref.hpp | 6 +- .../test-impl/QueuedSerialTester.ref.hpp | 6 +- .../QueuedSyncProductsTester.ref.hpp | 6 +- .../test-impl/QueuedTelemetryTester.ref.hpp | 6 +- .../test-impl/QueuedTestTester.ref.hpp | 6 +- 182 files changed, 851 insertions(+), 854 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala index cde7ce4ad..0a05e3c15 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala @@ -410,12 +410,11 @@ case class ComponentCppWriter ( case _ => List.concat( if hasSerialAsyncInputPorts then lines( """|// Passed-in size added to port number and message type enumeration sizes. - |// NATIVE_INT_TYPE cast because of compiler warning. |this->m_msgSize = FW_MAX( | msgSize + - | static_cast(sizeof(FwIndexType)) + - | static_cast(sizeof(FwMsgIdType)), - | static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) + | static_cast(sizeof(FwIndexType)) + + | static_cast(sizeof(FwMsgIdType)), + | static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) |); | |Os::Queue::QueueStatus qStat = this->createQueue(queueDepth, this->m_msgSize); @@ -760,7 +759,7 @@ case class ComponentCppWriter ( ) else lines("ComponentIpcSerializableBuffer msg;"), lines( - s"""|NATIVE_INT_TYPE priority = 0; + s"""|FwQueuePriorityType priority = 0; | |Os::Queue::QueueStatus msgStatus = this->m_queue.receive( | msg, @@ -875,7 +874,7 @@ case class ComponentCppWriter ( lines( """| |//! Stores max message size - |NATIVE_INT_TYPE m_msgSize; + |FwSizeType m_msgSize; |""" ) ).flatten diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala index 9bbc52e30..1930becad 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala @@ -276,7 +276,7 @@ abstract class ComponentCppWriterUtils( val initParams: List[CppDoc.Function.Param] = List.concat( if data.kind != Ast.ComponentKind.Passive then List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwQueueSizeType"), "queueDepth", Some("The queue depth") ) @@ -284,7 +284,7 @@ abstract class ComponentCppWriterUtils( else Nil, if hasSerialAsyncInputPorts then List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwSizeType"), "msgSize", Some("The message size") ) @@ -292,7 +292,7 @@ abstract class ComponentCppWriterUtils( else Nil, List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwInstanceIdType"), "instance", Some("The instance number"), Some("0") diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala index 4ec978453..c3db5c6af 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala @@ -64,7 +64,7 @@ case class ComponentEvents ( linesClassMember( Line.blank :: lines( s"""|//! Throttle for ${event.getName} - |NATIVE_UINT_TYPE ${eventThrottleCounterName(event.getName)}; + |FwEventCounterType ${eventThrottleCounterName(event.getName)}; |""" ) ) @@ -337,4 +337,4 @@ case class ComponentEvents ( private def eventThrottleResetName(event: Event) = s"${eventLogName(event)}_ThrottleClear" -} \ No newline at end of file +} diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala index 59f7b6834..1a858cf39 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala @@ -85,17 +85,17 @@ case class ComponentTestImplWriter( List.concat( Line.blank :: lines( s"""|// Maximum size of histories storing events, telemetry, and port outputs - |static const NATIVE_INT_TYPE $historySizeConstantName = 10; + |static const FwSizeType $historySizeConstantName = 10; | |// Instance ID supplied to the component instance under test - |static const NATIVE_INT_TYPE $idConstantName = 0; + |static const FwInstanceIdType $idConstantName = 0; |""" ), guardedList (data.kind != Ast.ComponentKind.Passive) ( lines( s"""| |// Queue depth supplied to the component instance under test - |static const NATIVE_INT_TYPE $queueDepthConstantName = 10; + |static const FwQueueSizeType $queueDepthConstantName = 10; |""" ) ) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala index 7f84605d1..beed387a2 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala @@ -160,7 +160,7 @@ case class ComponentTesterBaseWriter( "init", List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwInstanceIdType"), "instance", Some("The instance number"), Some("0") @@ -607,7 +607,7 @@ case class ComponentTesterBaseWriter( List.concat( List( CppDoc.Function.Param( - CppDoc.Type("const NATIVE_INT_TYPE"), + CppDoc.Type("const FwInstanceIdType"), "instance", Some("The instance number") ), @@ -1097,7 +1097,7 @@ case class ComponentTesterBaseWriter( paramSendName(prm.getName), List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwInstanceIdType"), "instance", Some("The component instance") ), @@ -1137,7 +1137,7 @@ case class ComponentTesterBaseWriter( paramSaveName(prm.getName), List( CppDoc.Function.Param( - CppDoc.Type("NATIVE_INT_TYPE"), + CppDoc.Type("FwInstanceIdType"), "instance", Some("The component instance") ), diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp index 1cfdec122..a360cd5a7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp @@ -65,8 +65,8 @@ namespace { void ActiveAsyncProductPortsOnlyComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -438,7 +438,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductPortsOnlyComponentB doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp index 88d1abe21..5edecbb64 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp @@ -55,8 +55,8 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Initialize ActiveAsyncProductPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp index 57c20444d..5be886357 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp @@ -230,8 +230,8 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer :: void ActiveAsyncProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2861,7 +2861,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp index 5a5542306..428d8a7f9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class ActiveAsyncProductsComponentBase : //! Initialize ActiveAsyncProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp index c5a7aa09b..30826169e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp @@ -78,8 +78,8 @@ namespace { void ActiveCommandsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -3472,7 +3472,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveCommandsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp index 500d053a8..71057e4d9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp @@ -124,8 +124,8 @@ class ActiveCommandsComponentBase : //! Initialize ActiveCommandsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp index a4c38dbad..f1aa5432a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void ActiveEventsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -3069,7 +3069,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveEventsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp index 61bbad791..2d25baf74 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp @@ -121,8 +121,8 @@ class ActiveEventsComponentBase : //! Initialize ActiveEventsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1404,13 +1404,13 @@ class ActiveEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp index 70a5a5682..9deca9544 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer :: void ActiveGetProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2710,7 +2710,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGetProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp index f37179c88..7c3ad7757 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp @@ -207,8 +207,8 @@ class ActiveGetProductsComponentBase : //! Initialize ActiveGetProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp index 727c400a4..385b0035f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer :: void ActiveGuardedProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2817,7 +2817,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGuardedProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp index 35770eab2..65b47348e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class ActiveGuardedProductsComponentBase : //! Initialize ActiveGuardedProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp index 439cd1505..3fe9448f9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp @@ -58,8 +58,8 @@ namespace { void ActiveNoArgsPortsOnlyComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -568,7 +568,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveNoArgsPortsOnlyComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp index b3d08adc1..3620c5165 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp @@ -58,8 +58,8 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Initialize ActiveNoArgsPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp index 7e78fb830..47bf89563 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void ActiveParamsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2711,7 +2711,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveParamsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp index 578a71ef6..9cb8a88e8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp @@ -131,8 +131,8 @@ class ActiveParamsComponentBase : //! Initialize ActiveParamsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index 3725b3ae9..e682c0ef3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -111,9 +111,9 @@ namespace { void ActiveSerialComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE msgSize, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwSizeType msgSize, + FwInstanceIdType instance ) { // Initialize base class @@ -849,12 +849,11 @@ void ActiveSerialComponentBase :: } // Passed-in size added to port number and message type enumeration sizes. - // NATIVE_INT_TYPE cast because of compiler warning. this->m_msgSize = FW_MAX( msgSize + - static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(FwMsgIdType)), - static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) + static_cast(sizeof(FwIndexType)) + + static_cast(sizeof(FwMsgIdType)), + static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); Os::Queue::QueueStatus qStat = this->createQueue(queueDepth, this->m_msgSize); @@ -5817,7 +5816,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSerialComponentBase :: { U8 msgBuff[this->m_msgSize]; Fw::ExternalSerializeBuffer msg(msgBuff,this->m_msgSize); - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index 01803c3e6..ede8ecfbc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -204,9 +204,9 @@ class ActiveSerialComponentBase : //! Initialize ActiveSerialComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE msgSize, //!< The message size - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwSizeType msgSize, //!< The message size + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -2560,13 +2560,13 @@ class ActiveSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: @@ -2656,7 +2656,7 @@ class ActiveSerialComponentBase : PRIVATE: //! Stores max message size - NATIVE_INT_TYPE m_msgSize; + FwSizeType m_msgSize; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp index 512930976..c4e2bb87d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer :: void ActiveSyncProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2811,7 +2811,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSyncProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp index c0c49036a..f97ed1234 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class ActiveSyncProductsComponentBase : //! Initialize ActiveSyncProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp index e6cfac87c..73922d45a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void ActiveTelemetryComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2774,7 +2774,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveTelemetryComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp index e9fb15297..bb434149c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp @@ -118,8 +118,8 @@ class ActiveTelemetryComponentBase : //! Initialize ActiveTelemetryComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp index 1f930ccec..60950315b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp @@ -266,8 +266,8 @@ namespace M { void ActiveTestComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -5658,7 +5658,7 @@ namespace M { doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp index c1a8263a6..0632376e1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp @@ -296,8 +296,8 @@ namespace M { //! Initialize ActiveTestComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -2545,13 +2545,13 @@ namespace M { // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp index d75055022..15707c8ee 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void EmptyComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp index 9444c5ebb..ceff97660 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp @@ -33,7 +33,7 @@ class EmptyComponentBase : //! Initialize EmptyComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp index 9acb10b80..87ec381ed 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveCommandsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp index 31bc09824..464659db4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp @@ -114,7 +114,7 @@ class PassiveCommandsComponentBase : //! Initialize PassiveCommandsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp index d03c5409e..3e979b838 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveEventsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp index 260d5d8ef..3c080aaf5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp @@ -116,7 +116,7 @@ class PassiveEventsComponentBase : //! Initialize PassiveEventsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1087,13 +1087,13 @@ class PassiveEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp index c78486699..ccd9302d0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductPortsOnlyComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp index 64c700b96..ecfbe9aec 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp @@ -49,7 +49,7 @@ class PassiveGetProductPortsOnlyComponentBase : //! Initialize PassiveGetProductPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp index 01c9900e3..f7479fecc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveGetProductsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp index 2038c138e..c5a70b1fd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp @@ -202,7 +202,7 @@ class PassiveGetProductsComponentBase : //! Initialize PassiveGetProductsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp index 20c0da12f..a5198dbd0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveGuardedProductsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp index ffeab267a..ba6b5d910 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp @@ -204,7 +204,7 @@ class PassiveGuardedProductsComponentBase : //! Initialize PassiveGuardedProductsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp index 1e067e7ac..6e11ab49f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveParamsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp index 17bcc966b..2bd1a282e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp @@ -126,7 +126,7 @@ class PassiveParamsComponentBase : //! Initialize PassiveParamsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index 9fdc59208..e584ac588 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveSerialComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index d648760ca..e5b74373c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -189,7 +189,7 @@ class PassiveSerialComponentBase : //! Initialize PassiveSerialComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1861,13 +1861,13 @@ class PassiveSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp index 83a82164e..bc4cec1d7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductPortsOnlyComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp index 12cfec249..736959812 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp @@ -55,7 +55,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Initialize PassiveSyncProductPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp index 49cbeddb2..0252faef0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveSyncProductsComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp index 1c0173552..1df7e5ee0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp @@ -204,7 +204,7 @@ class PassiveSyncProductsComponentBase : //! Initialize PassiveSyncProductsComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp index 76935dfbf..3d76bcde6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveTelemetryComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp index 211f79d30..b6f57f853 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp @@ -113,7 +113,7 @@ class PassiveTelemetryComponentBase : //! Initialize PassiveTelemetryComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp index accf0236a..c11cb2a81 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveTestComponentBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp index be4b6dbcc..6d19f3082 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp @@ -283,7 +283,7 @@ class PassiveTestComponentBase : //! Initialize PassiveTestComponentBase object void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -2019,13 +2019,13 @@ class PassiveTestComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp index 7dbcf2d90..27f6526cd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp @@ -65,8 +65,8 @@ namespace { void QueuedAsyncProductPortsOnlyComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -438,7 +438,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductPortsOnlyComponentB doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp index f33b63c58..051be5373 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp @@ -55,8 +55,8 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Initialize QueuedAsyncProductPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp index e8665243c..48c378433 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp @@ -230,8 +230,8 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer :: void QueuedAsyncProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2861,7 +2861,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp index b1afa79cc..a2b912f03 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class QueuedAsyncProductsComponentBase : //! Initialize QueuedAsyncProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp index b80de8108..7db5823c4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp @@ -78,8 +78,8 @@ namespace { void QueuedCommandsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -3472,7 +3472,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedCommandsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp index 733be6035..3044ad831 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp @@ -124,8 +124,8 @@ class QueuedCommandsComponentBase : //! Initialize QueuedCommandsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp index 7ef4903e7..5da09c18b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void QueuedEventsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -3069,7 +3069,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedEventsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp index 4d7c112ff..d25550134 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp @@ -121,8 +121,8 @@ class QueuedEventsComponentBase : //! Initialize QueuedEventsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1404,13 +1404,13 @@ class QueuedEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp index ae390568f..3fad4bf44 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer :: void QueuedGetProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2710,7 +2710,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGetProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp index b192f19fb..d21feb45b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp @@ -207,8 +207,8 @@ class QueuedGetProductsComponentBase : //! Initialize QueuedGetProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp index f20b51b5f..6586b2789 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer :: void QueuedGuardedProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2817,7 +2817,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGuardedProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp index 9b12a5844..b8f862834 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class QueuedGuardedProductsComponentBase : //! Initialize QueuedGuardedProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp index d306b5a59..0244485ac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp @@ -58,8 +58,8 @@ namespace { void QueuedNoArgsPortsOnlyComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -568,7 +568,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedNoArgsPortsOnlyComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp index a98fe63de..83a5b9d04 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp @@ -58,8 +58,8 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Initialize QueuedNoArgsPortsOnlyComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp index 27cc26111..6afcc80ca 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void QueuedParamsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2711,7 +2711,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedParamsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp index 35c19bd81..7a8cf8dbc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp @@ -131,8 +131,8 @@ class QueuedParamsComponentBase : //! Initialize QueuedParamsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index 3f391a055..e47b29cf2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -111,9 +111,9 @@ namespace { void QueuedSerialComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE msgSize, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwSizeType msgSize, + FwInstanceIdType instance ) { // Initialize base class @@ -849,12 +849,11 @@ void QueuedSerialComponentBase :: } // Passed-in size added to port number and message type enumeration sizes. - // NATIVE_INT_TYPE cast because of compiler warning. this->m_msgSize = FW_MAX( msgSize + - static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(FwMsgIdType)), - static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) + static_cast(sizeof(FwIndexType)) + + static_cast(sizeof(FwMsgIdType)), + static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); Os::Queue::QueueStatus qStat = this->createQueue(queueDepth, this->m_msgSize); @@ -5817,7 +5816,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSerialComponentBase :: { U8 msgBuff[this->m_msgSize]; Fw::ExternalSerializeBuffer msg(msgBuff,this->m_msgSize); - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index ca083baa7..8cb71ca69 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -204,9 +204,9 @@ class QueuedSerialComponentBase : //! Initialize QueuedSerialComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE msgSize, //!< The message size - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwSizeType msgSize, //!< The message size + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -2560,13 +2560,13 @@ class QueuedSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: @@ -2656,7 +2656,7 @@ class QueuedSerialComponentBase : PRIVATE: //! Stores max message size - NATIVE_INT_TYPE m_msgSize; + FwSizeType m_msgSize; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp index fc27e33ad..13475b16d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp @@ -228,8 +228,8 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer :: void QueuedSyncProductsComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2811,7 +2811,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSyncProductsComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp index 01135fd84..02fbc2da3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp @@ -209,8 +209,8 @@ class QueuedSyncProductsComponentBase : //! Initialize QueuedSyncProductsComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp index 50b1c2303..37c7507d5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp @@ -73,8 +73,8 @@ namespace { void QueuedTelemetryComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -2774,7 +2774,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTelemetryComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp index f82c24304..d01f36a99 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp @@ -118,8 +118,8 @@ class QueuedTelemetryComponentBase : //! Initialize QueuedTelemetryComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp index 068c7f1ae..c59d08b84 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp @@ -264,8 +264,8 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer :: void QueuedTestComponentBase :: init( - NATIVE_INT_TYPE queueDepth, - NATIVE_INT_TYPE instance + FwQueueSizeType queueDepth, + FwInstanceIdType instance ) { // Initialize base class @@ -5656,7 +5656,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTestComponentBase :: doDispatch() { ComponentIpcSerializableBuffer msg; - NATIVE_INT_TYPE priority = 0; + FwQueuePriorityType priority = 0; Os::Queue::QueueStatus msgStatus = this->m_queue.receive( msg, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp index a8e73ae1e..38ccde148 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp @@ -294,8 +294,8 @@ class QueuedTestComponentBase : //! Initialize QueuedTestComponentBase object void init( - NATIVE_INT_TYPE queueDepth, //!< The queue depth - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwQueueSizeType queueDepth, //!< The queue depth + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -2543,13 +2543,13 @@ class QueuedTestComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - NATIVE_UINT_TYPE m_EventActivityLowThrottledThrottle; + FwEventCounterType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - NATIVE_UINT_TYPE m_EventFatalThrottledThrottle; + FwEventCounterType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - NATIVE_UINT_TYPE m_EventWarningLowThrottledThrottle; + FwEventCounterType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp index ab031bc52..342460041 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveAsyncProductPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp index 8b09eb292..f15df7fdc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! Initialize object ActiveAsyncProductPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp index 40f5e6a82..642940b68 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveAsyncProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp index 08ada67f7..bd378271b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveAsyncProductsTesterBase : //! Initialize object ActiveAsyncProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp index c8329cee2..49688172a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveCommandsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1554,7 +1554,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1579,7 +1579,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1627,7 +1627,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1668,7 +1668,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1702,7 +1702,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1736,7 +1736,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1770,7 +1770,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1795,7 +1795,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1843,7 +1843,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1884,7 +1884,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1918,7 +1918,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1952,7 +1952,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1986,7 +1986,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2011,7 +2011,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2036,7 +2036,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2070,7 +2070,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2095,7 +2095,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp index 3ea7f13fc..7b80278a7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class ActiveCommandsTesterBase : //! Initialize object ActiveCommandsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -818,13 +818,13 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -833,7 +833,7 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -841,34 +841,34 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -877,7 +877,7 @@ class ActiveCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -885,53 +885,53 @@ class ActiveCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp index 3d78c673e..e574233b3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveEventsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp index 0760e9c62..f34d8d078 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class ActiveEventsTesterBase : //! Initialize object ActiveEventsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp index cd019b3f1..6ee353856 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveGetProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp index 419a7f2cd..a9c41a9f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveGetProductsTesterBase : //! Initialize object ActiveGetProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp index e22b50681..9f978e1de 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveGuardedProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp index d76d118f1..e13adad6a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveGuardedProductsTesterBase : //! Initialize object ActiveGuardedProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp index 56f980ffa..f4e3b54b1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp index d7b667ae9..4de3180bf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp @@ -114,7 +114,7 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Initialize object ActiveNoArgsPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp index 6b34ba73e..ec1845e93 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveParamsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1622,7 +1622,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1649,7 +1649,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1681,7 +1681,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1708,7 +1708,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1740,7 +1740,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1767,7 +1767,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1799,7 +1799,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1826,7 +1826,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1858,7 +1858,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1885,7 +1885,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1917,7 +1917,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1944,7 +1944,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp index c56bef595..d8872e575 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class ActiveParamsTesterBase : //! Initialize object ActiveParamsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -830,13 +830,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -848,13 +848,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -866,13 +866,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -884,13 +884,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -902,13 +902,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -920,13 +920,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp index f27711d7d..4a94202f7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveSerialTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -2182,7 +2182,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2207,7 +2207,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2255,7 +2255,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2296,7 +2296,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2330,7 +2330,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2364,7 +2364,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2398,7 +2398,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2423,7 +2423,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2471,7 +2471,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2512,7 +2512,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2546,7 +2546,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2580,7 +2580,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2614,7 +2614,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2639,7 +2639,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2664,7 +2664,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2698,7 +2698,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2723,7 +2723,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -3463,7 +3463,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3490,7 +3490,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3522,7 +3522,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3549,7 +3549,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3581,7 +3581,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3608,7 +3608,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3640,7 +3640,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3667,7 +3667,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3699,7 +3699,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3726,7 +3726,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3758,7 +3758,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3785,7 +3785,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp index 957152f5f..a8f94ffe1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class ActiveSerialTesterBase : //! Initialize object ActiveSerialTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1092,13 +1092,13 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1107,7 +1107,7 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1115,34 +1115,34 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1151,7 +1151,7 @@ class ActiveSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1159,53 +1159,53 @@ class ActiveSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1363,13 +1363,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1381,13 +1381,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1399,13 +1399,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1417,13 +1417,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1435,13 +1435,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1453,13 +1453,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp index f33a7f04a..28f251d17 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveSyncProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp index 07c855a83..0d5690382 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveSyncProductsTesterBase : //! Initialize object ActiveSyncProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp index 130839f10..cee2e9c3d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveTelemetryTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp index 28fdda00b..43ccef64d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class ActiveTelemetryTesterBase : //! Initialize object ActiveTelemetryTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp index f4978badd..a3681a42b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp @@ -16,7 +16,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1870,7 +1870,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1895,7 +1895,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1943,7 +1943,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1984,7 +1984,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2018,7 +2018,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2052,7 +2052,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2086,7 +2086,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2111,7 +2111,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2159,7 +2159,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2200,7 +2200,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2234,7 +2234,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2268,7 +2268,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2302,7 +2302,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2327,7 +2327,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2352,7 +2352,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2386,7 +2386,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2411,7 +2411,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -3151,7 +3151,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3178,7 +3178,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3210,7 +3210,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3237,7 +3237,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3269,7 +3269,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3296,7 +3296,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3328,7 +3328,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3355,7 +3355,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3387,7 +3387,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3414,7 +3414,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3446,7 +3446,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3473,7 +3473,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp index 6a3c5338f..4bd0f9b89 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp @@ -264,7 +264,7 @@ namespace M { //! Initialize object ActiveTestTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -981,13 +981,13 @@ namespace M { //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -996,7 +996,7 @@ namespace M { //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1004,34 +1004,34 @@ namespace M { //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1040,7 +1040,7 @@ namespace M { //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1048,53 +1048,53 @@ namespace M { //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1252,13 +1252,13 @@ namespace M { //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1270,13 +1270,13 @@ namespace M { //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1288,13 +1288,13 @@ namespace M { //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1306,13 +1306,13 @@ namespace M { //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1324,13 +1324,13 @@ namespace M { //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1342,13 +1342,13 @@ namespace M { //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp index e044151f3..ce567b419 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void EmptyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp index 46178d302..4351561a1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class EmptyTesterBase : //! Initialize object EmptyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp index 57eea2b68..973cb6693 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveCommandsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1181,7 +1181,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1206,7 +1206,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1254,7 +1254,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1295,7 +1295,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1329,7 +1329,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1363,7 +1363,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1397,7 +1397,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1422,7 +1422,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1470,7 +1470,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1511,7 +1511,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1545,7 +1545,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1579,7 +1579,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp index 2adf87279..aaeadbd9b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class PassiveCommandsTesterBase : //! Initialize object PassiveCommandsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -675,13 +675,13 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -690,7 +690,7 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -698,34 +698,34 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -734,7 +734,7 @@ class PassiveCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -742,21 +742,21 @@ class PassiveCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp index ccdaccf0a..fabfa78f9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveEventsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp index 17f134883..afefb48c1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class PassiveEventsTesterBase : //! Initialize object PassiveEventsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp index 291678feb..f2195cdab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp index 951c826d6..df6191fa4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class PassiveGetProductPortsOnlyTesterBase : //! Initialize object PassiveGetProductPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp index ed6576ee8..ddba8c0d9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp index 22e9aec46..88a5cf9cf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveGetProductsTesterBase : //! Initialize object PassiveGetProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp index fc72c78fa..21a05029d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGuardedProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp index 3c4e03a15..d6e815af2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveGuardedProductsTesterBase : //! Initialize object PassiveGuardedProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp index 3b2d2850f..a0a628c7c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveParamsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1249,7 +1249,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1276,7 +1276,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1308,7 +1308,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1335,7 +1335,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1367,7 +1367,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1394,7 +1394,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1426,7 +1426,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1453,7 +1453,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1485,7 +1485,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1512,7 +1512,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1544,7 +1544,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1571,7 +1571,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp index 3e566b7e5..d478f0d52 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class PassiveParamsTesterBase : //! Initialize object PassiveParamsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -687,13 +687,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -705,13 +705,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -723,13 +723,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -741,13 +741,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -759,13 +759,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -777,13 +777,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp index b93a33dba..33537d05d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSerialTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1545,7 +1545,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1570,7 +1570,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1618,7 +1618,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1659,7 +1659,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1693,7 +1693,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1727,7 +1727,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1761,7 +1761,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1786,7 +1786,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1834,7 +1834,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1875,7 +1875,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1909,7 +1909,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1943,7 +1943,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2683,7 +2683,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2710,7 +2710,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2742,7 +2742,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2769,7 +2769,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2801,7 +2801,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2828,7 +2828,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2860,7 +2860,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2887,7 +2887,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2919,7 +2919,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2946,7 +2946,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2978,7 +2978,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3005,7 +3005,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp index 8fb7a9628..552603b7f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class PassiveSerialTesterBase : //! Initialize object PassiveSerialTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -853,13 +853,13 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -868,7 +868,7 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -876,34 +876,34 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -912,7 +912,7 @@ class PassiveSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -920,21 +920,21 @@ class PassiveSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); @@ -1092,13 +1092,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1110,13 +1110,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1128,13 +1128,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1146,13 +1146,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1164,13 +1164,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1182,13 +1182,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp index 67213953c..c29d78296 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp index 7b6f94e1f..4b2d8e030 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class PassiveSyncProductPortsOnlyTesterBase : //! Initialize object PassiveSyncProductPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp index 6ad2fa3a1..f331f219c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp index 31a741ed4..617dd567f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveSyncProductsTesterBase : //! Initialize object PassiveSyncProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp index 56c7c51db..c71d886da 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveTelemetryTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp index 99098ce42..5e74e4383 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class PassiveTelemetryTesterBase : //! Initialize object PassiveTelemetryTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp index c3d42228b..293c85587 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveTestTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1495,7 +1495,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1520,7 +1520,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1568,7 +1568,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1609,7 +1609,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1643,7 +1643,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1677,7 +1677,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1711,7 +1711,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1736,7 +1736,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1784,7 +1784,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1825,7 +1825,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1859,7 +1859,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1893,7 +1893,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2633,7 +2633,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2660,7 +2660,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2692,7 +2692,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2719,7 +2719,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2751,7 +2751,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2778,7 +2778,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2810,7 +2810,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2837,7 +2837,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2869,7 +2869,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2896,7 +2896,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2928,7 +2928,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -2955,7 +2955,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp index 80231ad03..1ac1b262e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp @@ -262,7 +262,7 @@ class PassiveTestTesterBase : //! Initialize object PassiveTestTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -836,13 +836,13 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -851,7 +851,7 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -859,34 +859,34 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -895,7 +895,7 @@ class PassiveTestTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -903,21 +903,21 @@ class PassiveTestTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); @@ -1075,13 +1075,13 @@ class PassiveTestTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1093,13 +1093,13 @@ class PassiveTestTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1111,13 +1111,13 @@ class PassiveTestTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1129,13 +1129,13 @@ class PassiveTestTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1147,13 +1147,13 @@ class PassiveTestTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1165,13 +1165,13 @@ class PassiveTestTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp index d2d05c1a8..bd5ca3b61 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedAsyncProductPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp index 0ccee358e..f926603db 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! Initialize object QueuedAsyncProductPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp index f65f732f9..55ebbc7c5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedAsyncProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp index daefa6b4a..cdc602e05 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedAsyncProductsTesterBase : //! Initialize object QueuedAsyncProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp index 2f6a3c705..4a430d58a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedCommandsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1554,7 +1554,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1579,7 +1579,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1627,7 +1627,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1668,7 +1668,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1702,7 +1702,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1736,7 +1736,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1770,7 +1770,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1795,7 +1795,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1843,7 +1843,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1884,7 +1884,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -1918,7 +1918,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -1952,7 +1952,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -1986,7 +1986,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2011,7 +2011,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2036,7 +2036,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2070,7 +2070,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2095,7 +2095,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp index a5c2d0aa6..8271a67a8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class QueuedCommandsTesterBase : //! Initialize object QueuedCommandsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -818,13 +818,13 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -833,7 +833,7 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -841,34 +841,34 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -877,7 +877,7 @@ class QueuedCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -885,53 +885,53 @@ class QueuedCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp index 84044239c..c31c88c24 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedEventsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp index d36170b6e..117c5c6b9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class QueuedEventsTesterBase : //! Initialize object QueuedEventsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp index 71a28d1ab..0b8af794b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedGetProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp index a8689aed9..3613fc50a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedGetProductsTesterBase : //! Initialize object QueuedGetProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp index 2af720502..1a69d1a56 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedGuardedProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp index dd2b8edf8..1ec5a13ab 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedGuardedProductsTesterBase : //! Initialize object QueuedGuardedProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp index 227107106..ce8ab70db 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp index 13ff04fe8..053d06e4e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp @@ -114,7 +114,7 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Initialize object QueuedNoArgsPortsOnlyTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp index 6f4a146af..52c6ef5d2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedParamsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1622,7 +1622,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1649,7 +1649,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1681,7 +1681,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1708,7 +1708,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1740,7 +1740,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1767,7 +1767,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1799,7 +1799,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1826,7 +1826,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1858,7 +1858,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1885,7 +1885,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1917,7 +1917,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -1944,7 +1944,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp index 0b740504c..de86adc90 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class QueuedParamsTesterBase : //! Initialize object QueuedParamsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -830,13 +830,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -848,13 +848,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -866,13 +866,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -884,13 +884,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -902,13 +902,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -920,13 +920,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp index e5b5347f0..a908ecbc8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedSerialTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -2182,7 +2182,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2207,7 +2207,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2255,7 +2255,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2296,7 +2296,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2330,7 +2330,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2364,7 +2364,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2398,7 +2398,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2423,7 +2423,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2471,7 +2471,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2512,7 +2512,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2546,7 +2546,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2580,7 +2580,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2614,7 +2614,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2639,7 +2639,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2664,7 +2664,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2698,7 +2698,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2723,7 +2723,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -3463,7 +3463,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3490,7 +3490,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3522,7 +3522,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3549,7 +3549,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3581,7 +3581,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3608,7 +3608,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3640,7 +3640,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3667,7 +3667,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3699,7 +3699,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3726,7 +3726,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3758,7 +3758,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3785,7 +3785,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp index 418789eb9..c66683aee 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class QueuedSerialTesterBase : //! Initialize object QueuedSerialTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -1092,13 +1092,13 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1107,7 +1107,7 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1115,34 +1115,34 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1151,7 +1151,7 @@ class QueuedSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1159,53 +1159,53 @@ class QueuedSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1363,13 +1363,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1381,13 +1381,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1399,13 +1399,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1417,13 +1417,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1435,13 +1435,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1453,13 +1453,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp index 8d0d87702..7f9aced4b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedSyncProductsTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp index 4beda452d..cf9607271 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedSyncProductsTesterBase : //! Initialize object QueuedSyncProductsTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp index 0667e4161..add75020f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedTelemetryTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp index 50130611a..bf9ef18c4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class QueuedTelemetryTesterBase : //! Initialize object QueuedTelemetryTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp index 3b46a743a..e5e55933d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedTestTesterBase :: - init(NATIVE_INT_TYPE instance) + init(FwInstanceIdType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1868,7 +1868,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -1893,7 +1893,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1941,7 +1941,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1982,7 +1982,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2016,7 +2016,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2050,7 +2050,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2084,7 +2084,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2109,7 +2109,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2157,7 +2157,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2198,7 +2198,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, E e ) @@ -2232,7 +2232,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, A a ) @@ -2266,7 +2266,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, S s ) @@ -2300,7 +2300,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2325,7 +2325,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2350,7 +2350,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -2384,7 +2384,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq ) { @@ -2409,7 +2409,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, + const FwInstanceIdType instance, U32 cmdSeq, U32 u32 ) @@ -3149,7 +3149,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3176,7 +3176,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamU32( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3208,7 +3208,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3235,7 +3235,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamF64( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3267,7 +3267,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3294,7 +3294,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamString( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3326,7 +3326,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3353,7 +3353,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamEnum( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3385,7 +3385,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3412,7 +3412,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamArray( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3444,7 +3444,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { @@ -3471,7 +3471,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamStruct( - NATIVE_INT_TYPE instance, + FwInstanceIdType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp index bafa919ab..4a9fede9a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp @@ -262,7 +262,7 @@ class QueuedTestTesterBase : //! Initialize object QueuedTestTesterBase virtual void init( - NATIVE_INT_TYPE instance = 0 //!< The instance number + FwInstanceIdType instance = 0 //!< The instance number ); public: @@ -979,13 +979,13 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -994,7 +994,7 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1002,34 +1002,34 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1038,7 +1038,7 @@ class QueuedTestTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1046,53 +1046,53 @@ class QueuedTestTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const NATIVE_INT_TYPE instance, //!< The instance number + const FwInstanceIdType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1250,13 +1250,13 @@ class QueuedTestTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1268,13 +1268,13 @@ class QueuedTestTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1286,13 +1286,13 @@ class QueuedTestTesterBase : //! Send parameter ParamString void paramSend_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1304,13 +1304,13 @@ class QueuedTestTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1322,13 +1322,13 @@ class QueuedTestTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1340,13 +1340,13 @@ class QueuedTestTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - NATIVE_INT_TYPE instance, //!< The component instance + FwInstanceIdType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp index 62a60b662..e6f851d66 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveAsyncProductPortsOnlyTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp index 19c670dfa..0e3361319 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveAsyncProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp index d99ef8242..d14974f6e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveCommandsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp index e1ae7084b..19a6a1ec9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveEventsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp index 4ff4382d4..b2bd04210 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveGetProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp index 469a57e3b..0c3e57bd0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveGuardedProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp index f3c8dc2ba..e56c0a8f2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveNoArgsPortsOnlyTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp index 0161a966d..5ed522222 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveParamsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp index 1bbec8ba7..dc70ff2a6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveSerialTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp index 61c02bd40..83ccf53de 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveSyncProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp index 0c06d233e..f3140b31c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp @@ -21,13 +21,13 @@ class ActiveTelemetryTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp index e7769193f..761e4cb67 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp @@ -23,13 +23,13 @@ namespace M { // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp index dbdfbf3a6..09e282a98 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp @@ -21,10 +21,10 @@ class EmptyTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp index f1df692e8..95249f9d6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveCommandsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp index 22196ae6b..e0a49a554 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveEventsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp index fa984057d..afbee678b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveGetProductPortsOnlyTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp index 10f736d8b..78d25a81b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveGetProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp index 16834359d..038611369 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveGuardedProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp index 61b5df4d5..8e85e6269 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveParamsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp index 5d3576abe..55d97aa4d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveSerialTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp index 0839a5e91..4d9aaffe6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveSyncProductPortsOnlyTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp index d18bdcda1..c87a0f47c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveSyncProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp index 4b6a1db55..f904d6a10 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveTelemetryTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp index 982f61c11..c1d502d81 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp @@ -21,10 +21,10 @@ class PassiveTestTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp index 8f9985fea..b125e4280 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedCommandsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp index 2943b840d..797333ae4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedEventsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp index 0998ea61a..265698db8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedGetProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp index d09a56c49..8c7380e86 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedGuardedProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp index 53540e0e3..46c774edb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedParamsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp index 14bfaec8c..d2bc82ec2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedSerialTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp index 3657f95f4..280715456 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedSyncProductsTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp index 719b8c622..f7ab9b9ba 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedTelemetryTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp index dd9ae5328..5504ae872 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp @@ -21,13 +21,13 @@ class QueuedTestTester : // ---------------------------------------------------------------------- // Maximum size of histories storing events, telemetry, and port outputs - static const NATIVE_INT_TYPE MAX_HISTORY_SIZE = 10; + static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_ID = 0; + static const FwInstanceIdType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test - static const NATIVE_INT_TYPE TEST_INSTANCE_QUEUE_DEPTH = 10; + static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; public: From 3098c0788fa53a72b8e8dbb4dd7ea6783c8d1e16 Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Tue, 27 Feb 2024 21:17:20 -0800 Subject: [PATCH 04/11] Revise C++ code gen --- .../TopologyCppWriter/TopHelperFns.scala | 14 +++++++------- .../fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala index d751b47a3..1b18653f0 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala @@ -195,16 +195,16 @@ case class TopHelperFns( if (isActive(ci)) { val name = getNameAsIdent(ci.qualifiedName) val priority = ci.priority match { - case Some(_) => s"static_cast(Priorities::$name)," - case None => "Os::Task::TASK_DEFAULT, // Default priority" + case Some(_) => s"static_cast(Priorities::$name)," + case None => "Os::Task::DEFAULT_PARAM, // Default priority" } val stackSize = ci.stackSize match { - case Some(_) => s"static_cast(StackSizes::$name)," - case None => "Os::Task::TASK_DEFAULT, // Default stack size" + case Some(_) => s"static_cast(StackSizes::$name)," + case None => "Os::Task::DEFAULT_PARAM, // Default stack size" } val cpu = ci.cpu match { - case Some(_) => s"static_cast(CPUs::$name)," - case None => "Os::Task::TASK_DEFAULT, // Default CPU" + case Some(_) => s"static_cast(CPUs::$name)," + case None => "Os::Task::DEFAULT_PARAM, // Default CPU" } wrapInScope( s"$name.start(", @@ -213,7 +213,7 @@ case class TopHelperFns( priority, stackSize, cpu, - s"static_cast(TaskIds::$name)", + s"static_cast(TaskIds::$name)", ) ).map(line), ");" diff --git a/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp index a42669e8c..74f8cd27a 100644 --- a/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp @@ -89,17 +89,17 @@ namespace M { void startTasks(const TopologyState& state) { active1.start( - static_cast(Priorities::active1), - static_cast(StackSizes::active1), - static_cast(CPUs::active1), - static_cast(TaskIds::active1) + static_cast(Priorities::active1), + static_cast(StackSizes::active1), + static_cast(CPUs::active1), + static_cast(TaskIds::active1) ); active2.startSpecial(); active3.start( - Os::Task::TASK_DEFAULT, // Default priority - Os::Task::TASK_DEFAULT, // Default stack size - Os::Task::TASK_DEFAULT, // Default CPU - static_cast(TaskIds::active3) + Os::Task::DEFAULT_PARAM, // Default priority + Os::Task::DEFAULT_PARAM, // Default stack size + Os::Task::DEFAULT_PARAM, // Default CPU + static_cast(TaskIds::active3) ); } From dab91ee1b32fed23bb3eb91ca4d55433b579dbf1 Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Tue, 27 Feb 2024 22:48:34 -0800 Subject: [PATCH 05/11] Revise C++ code gen Remove uses of NATIVE_UINT_TYPE --- .../src/main/scala/codegen/CppWriter/CppWriterState.scala | 6 ------ .../src/main/scala/codegen/CppWriter/StringCppWriter.scala | 2 +- .../tools/fpp-to-cpp/test/array/S1SerializableAc.ref.cpp | 2 +- .../tools/fpp-to-cpp/test/array/S1SerializableAc.ref.hpp | 2 +- compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.hpp | 2 +- compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.hpp | 2 +- .../fpp-to-cpp/test/component/base/SSerializableAc.ref.cpp | 2 +- .../fpp-to-cpp/test/component/base/SSerializableAc.ref.hpp | 2 +- .../fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp | 2 +- .../fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp | 2 +- .../test/component/base/TypedReturnPortAc.ref.cpp | 2 +- .../test/component/base/TypedReturnPortAc.ref.hpp | 2 +- compiler/tools/fpp-to-cpp/test/fprime/Svc/Sched/Sched.fpp | 2 +- compiler/tools/fpp-to-cpp/test/fprime/config/FpConfig.fpp | 2 -- compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp | 4 ++-- compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp | 4 ++-- .../fpp-to-cpp/test/struct/DefaultSerializableAc.ref.cpp | 2 +- .../fpp-to-cpp/test/struct/DefaultSerializableAc.ref.hpp | 2 +- .../fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp | 2 +- .../fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.hpp | 2 +- .../test/struct/StringArraySerializableAc.ref.cpp | 4 ++-- .../test/struct/StringArraySerializableAc.ref.hpp | 4 ++-- .../fpp-to-cpp/test/struct/StringSerializableAc.ref.cpp | 4 ++-- .../fpp-to-cpp/test/struct/StringSerializableAc.ref.hpp | 4 ++-- docs/fpp-spec.html | 2 +- docs/fpp-users-guide.html | 4 +--- docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc | 2 -- 29 files changed, 32 insertions(+), 44 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala index a8069e900..e50829e2e 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala @@ -215,12 +215,6 @@ object CppWriterState { "FwTimeBaseStoreType" -> zero, "FwTimeContextStoreType" -> zero, "FwTlmPacketizeIdType" -> zero, - // For compatibility with the current F Prime code. - // Eventually we should remove these machine-dependent types - // from the FPP model and from the FPP-facing interface - // in F Prime. - "NATIVE_INT_TYPE" -> zero, - "NATIVE_UINT_TYPE" -> zero, "POINTER_CAST" -> zero, ) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/StringCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/StringCppWriter.scala index 6589a80fa..5172ec5e3 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/StringCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/StringCppWriter.scala @@ -219,7 +219,7 @@ case class StringCppWriter( None, "getCapacity", Nil, - CppDoc.Type("NATIVE_UINT_TYPE"), + CppDoc.Type("Fw::StringBase::SizeType"), lines("return sizeof(this->m_buf);"), CppDoc.Function.NonSV, CppDoc.Function.Const diff --git a/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.cpp index 1c6df7691..e67d65e89 100644 --- a/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.cpp @@ -86,7 +86,7 @@ namespace M { return this->m_buf; } - NATIVE_UINT_TYPE S1::StringSize80 :: + Fw::StringBase::SizeType S1::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.hpp index 67834fa14..bc6b88853 100644 --- a/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/array/S1SerializableAc.ref.hpp @@ -61,7 +61,7 @@ namespace M { //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.cpp index a8f30c88f..b9ec7f91c 100644 --- a/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.cpp @@ -84,7 +84,7 @@ const char* String1::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE String1::StringSize80 :: +Fw::StringBase::SizeType String1::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.hpp index 2ffca368a..3171ff983 100644 --- a/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/array/String1ArrayAc.ref.hpp @@ -60,7 +60,7 @@ class String1 : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.cpp index 0c2c003d5..f2ca70018 100644 --- a/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.cpp @@ -84,7 +84,7 @@ const char* String2::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE String2::StringSize80 :: +Fw::StringBase::SizeType String2::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.hpp index d039e24bd..785d64384 100644 --- a/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/array/String2ArrayAc.ref.hpp @@ -60,7 +60,7 @@ class String2 : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.cpp index 0af4fb47a..1d9b59c19 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.cpp @@ -84,7 +84,7 @@ const char* S::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE S::StringSize80 :: +Fw::StringBase::SizeType S::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.hpp index 28a57ae79..2990d76b0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/SSerializableAc.ref.hpp @@ -60,7 +60,7 @@ class S : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp index 7d6cfff24..03dd4ba04 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp @@ -85,7 +85,7 @@ namespace Ports { return this->m_buf; } - NATIVE_UINT_TYPE StringSize80 :: + Fw::StringBase::SizeType StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp index 92e41603f..402ae8d73 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.hpp @@ -66,7 +66,7 @@ namespace Ports { //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.cpp index f4e819be6..1971e7143 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.cpp @@ -85,7 +85,7 @@ namespace Ports { return this->m_buf; } - NATIVE_UINT_TYPE StringSize80 :: + Fw::StringBase::SizeType StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp index e39881c03..f9e400869 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedReturnPortAc.ref.hpp @@ -65,7 +65,7 @@ namespace Ports { //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/fprime/Svc/Sched/Sched.fpp b/compiler/tools/fpp-to-cpp/test/fprime/Svc/Sched/Sched.fpp index 9911bf48b..fdc57b8e6 100644 --- a/compiler/tools/fpp-to-cpp/test/fprime/Svc/Sched/Sched.fpp +++ b/compiler/tools/fpp-to-cpp/test/fprime/Svc/Sched/Sched.fpp @@ -2,7 +2,7 @@ module Svc { @ Scheduler Port with order argument port Sched( - context: NATIVE_UINT_TYPE @< The call order + context: U32 @< The call order ) } diff --git a/compiler/tools/fpp-to-cpp/test/fprime/config/FpConfig.fpp b/compiler/tools/fpp-to-cpp/test/fprime/config/FpConfig.fpp index 1769f8c45..2a643d7a0 100644 --- a/compiler/tools/fpp-to-cpp/test/fprime/config/FpConfig.fpp +++ b/compiler/tools/fpp-to-cpp/test/fprime/config/FpConfig.fpp @@ -12,6 +12,4 @@ type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType type FwTlmPacketizeIdType -type NATIVE_INT_TYPE -type NATIVE_UINT_TYPE type POINTER_CAST diff --git a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp index 9602c7a84..aa87944a1 100644 --- a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp @@ -83,7 +83,7 @@ namespace StringPortStrings { return this->m_buf; } - NATIVE_UINT_TYPE StringSize80 :: + Fw::StringBase::SizeType StringSize80 :: getCapacity() const { return sizeof(this->m_buf); @@ -162,7 +162,7 @@ namespace StringPortStrings { return this->m_buf; } - NATIVE_UINT_TYPE StringSize100 :: + Fw::StringBase::SizeType StringSize100 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp index 351eb4717..a67151ea4 100644 --- a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.hpp @@ -61,7 +61,7 @@ namespace StringPortStrings { //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: @@ -111,7 +111,7 @@ namespace StringPortStrings { //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.cpp index b62a791e3..a447a45c9 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.cpp @@ -84,7 +84,7 @@ const char* Default::StringSize40 :: return this->m_buf; } -NATIVE_UINT_TYPE Default::StringSize40 :: +Fw::StringBase::SizeType Default::StringSize40 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.hpp index ddb877597..6d7460de4 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/struct/DefaultSerializableAc.ref.hpp @@ -59,7 +59,7 @@ class Default : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp index 5a5b92a4b..c2d3d4fd9 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.cpp @@ -84,7 +84,7 @@ const char* Primitive::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE Primitive::StringSize80 :: +Fw::StringBase::SizeType Primitive::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.hpp index 5769f5eca..551c0901e 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/struct/PrimitiveSerializableAc.ref.hpp @@ -61,7 +61,7 @@ class Primitive : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp index 711254259..5af469d2a 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.cpp @@ -84,7 +84,7 @@ const char* StringArray::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE StringArray::StringSize80 :: +Fw::StringBase::SizeType StringArray::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); @@ -163,7 +163,7 @@ const char* StringArray::StringSize40 :: return this->m_buf; } -NATIVE_UINT_TYPE StringArray::StringSize40 :: +Fw::StringBase::SizeType StringArray::StringSize40 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.hpp index 9096f2726..e702c7cdd 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/struct/StringArraySerializableAc.ref.hpp @@ -59,7 +59,7 @@ class StringArray : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: @@ -109,7 +109,7 @@ class StringArray : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.cpp index c852568f0..4d5d53e4f 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.cpp @@ -84,7 +84,7 @@ const char* String::StringSize80 :: return this->m_buf; } -NATIVE_UINT_TYPE String::StringSize80 :: +Fw::StringBase::SizeType String::StringSize80 :: getCapacity() const { return sizeof(this->m_buf); @@ -163,7 +163,7 @@ const char* String::StringSize40 :: return this->m_buf; } -NATIVE_UINT_TYPE String::StringSize40 :: +Fw::StringBase::SizeType String::StringSize40 :: getCapacity() const { return sizeof(this->m_buf); diff --git a/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.hpp index 510791c8e..cb0fee399 100644 --- a/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/struct/StringSerializableAc.ref.hpp @@ -59,7 +59,7 @@ class String : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: @@ -109,7 +109,7 @@ class String : //! Retrieves char buffer of string const char* toChar() const; - NATIVE_UINT_TYPE getCapacity() const; + Fw::StringBase::SizeType getCapacity() const; private: diff --git a/docs/fpp-spec.html b/docs/fpp-spec.html index 8166185b7..933b77c1a 100644 --- a/docs/fpp-spec.html +++ b/docs/fpp-spec.html @@ -8494,7 +8494,7 @@

20.4. Translation Tools

diff --git a/docs/fpp-users-guide.html b/docs/fpp-users-guide.html index d0d598b34..1a4ebe7cf 100644 --- a/docs/fpp-users-guide.html +++ b/docs/fpp-users-guide.html @@ -11358,8 +11358,6 @@

14.1. I type FwTimeBaseStoreType type FwTimeContextStoreType type FwTlmPacketizeIdType -type NATIVE_INT_TYPE -type NATIVE_UINT_TYPE type POINTER_CAST @@ -11731,7 +11729,7 @@

diff --git a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc index c89fee7c6..ee6366e94 100644 --- a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc +++ b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc @@ -161,8 +161,6 @@ type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType type FwTlmPacketizeIdType -type NATIVE_INT_TYPE -type NATIVE_UINT_TYPE type POINTER_CAST ---- From 7477a6c076293381143b4216da1f70e73e4b8724 Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Wed, 28 Feb 2024 08:46:10 -0800 Subject: [PATCH 06/11] Revise C++ code gen --- .../codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala | 6 +++--- compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala index 1b18653f0..9591a831b 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala @@ -196,15 +196,15 @@ case class TopHelperFns( val name = getNameAsIdent(ci.qualifiedName) val priority = ci.priority match { case Some(_) => s"static_cast(Priorities::$name)," - case None => "Os::Task::DEFAULT_PARAM, // Default priority" + case None => "Os::Task::TASK_DEFAULT, // Default priority" } val stackSize = ci.stackSize match { case Some(_) => s"static_cast(StackSizes::$name)," - case None => "Os::Task::DEFAULT_PARAM, // Default stack size" + case None => "Os::Task::TASK_DEFAULT, // Default stack size" } val cpu = ci.cpu match { case Some(_) => s"static_cast(CPUs::$name)," - case None => "Os::Task::DEFAULT_PARAM, // Default CPU" + case None => "Os::Task::TASK_DEFAULT, // Default CPU" } wrapInScope( s"$name.start(", diff --git a/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp index 74f8cd27a..bdf981bdf 100644 --- a/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/BasicTopologyAc.ref.cpp @@ -96,9 +96,9 @@ namespace M { ); active2.startSpecial(); active3.start( - Os::Task::DEFAULT_PARAM, // Default priority - Os::Task::DEFAULT_PARAM, // Default stack size - Os::Task::DEFAULT_PARAM, // Default CPU + Os::Task::TASK_DEFAULT, // Default priority + Os::Task::TASK_DEFAULT, // Default stack size + Os::Task::TASK_DEFAULT, // Default CPU static_cast(TaskIds::active3) ); } From ade3b5fbf3d17b3ef4659de0272f9fb9de10e1be Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Mon, 4 Mar 2024 10:31:55 -0800 Subject: [PATCH 07/11] Revise types in generated C++ --- .../ComponentCommands.scala | 2 +- .../ComponentCppWriter.scala | 8 +-- .../ComponentCppWriterUtils.scala | 2 +- .../ComponentCppWriter/ComponentEvents.scala | 2 +- .../ComponentInputPorts.scala | 2 +- .../ComponentInternalPort.scala | 2 +- .../TestWriter/ComponentTestImplWriter.scala | 2 +- .../ComponentTesterBaseWriter.scala | 8 +-- .../codegen/CppWriter/PortCppWriter.scala | 2 +- compiler/scripts/fprime-gcc | 3 +- ...veAsyncProductPortsOnlyComponentAc.ref.cpp | 10 ++-- ...veAsyncProductPortsOnlyComponentAc.ref.hpp | 2 +- .../ActiveAsyncProductsComponentAc.ref.cpp | 20 +++---- .../ActiveAsyncProductsComponentAc.ref.hpp | 2 +- .../base/ActiveCommandsComponentAc.ref.cpp | 28 ++++----- .../base/ActiveCommandsComponentAc.ref.hpp | 2 +- .../base/ActiveEventsComponentAc.ref.cpp | 18 +++--- .../base/ActiveEventsComponentAc.ref.hpp | 8 +-- .../base/ActiveGetProductsComponentAc.ref.cpp | 18 +++--- .../base/ActiveGetProductsComponentAc.ref.hpp | 2 +- .../ActiveGuardedProductsComponentAc.ref.cpp | 18 +++--- .../ActiveGuardedProductsComponentAc.ref.hpp | 2 +- .../ActiveNoArgsPortsOnlyComponentAc.ref.cpp | 10 ++-- .../ActiveNoArgsPortsOnlyComponentAc.ref.hpp | 2 +- .../base/ActiveParamsComponentAc.ref.cpp | 18 +++--- .../base/ActiveParamsComponentAc.ref.hpp | 2 +- .../base/ActiveSerialComponentAc.ref.cpp | 50 ++++++++-------- .../base/ActiveSerialComponentAc.ref.hpp | 8 +-- .../ActiveSyncProductsComponentAc.ref.cpp | 18 +++--- .../ActiveSyncProductsComponentAc.ref.hpp | 2 +- .../base/ActiveTelemetryComponentAc.ref.cpp | 18 +++--- .../base/ActiveTelemetryComponentAc.ref.hpp | 2 +- .../base/ActiveTestComponentAc.ref.cpp | 42 ++++++------- .../base/ActiveTestComponentAc.ref.hpp | 8 +-- .../component/base/EmptyComponentAc.ref.cpp | 2 +- .../component/base/EmptyComponentAc.ref.hpp | 2 +- .../test/component/base/NoArgsPortAc.ref.cpp | 2 +- .../base/PassiveCommandsComponentAc.ref.cpp | 2 +- .../base/PassiveCommandsComponentAc.ref.hpp | 2 +- .../base/PassiveEventsComponentAc.ref.cpp | 2 +- .../base/PassiveEventsComponentAc.ref.hpp | 8 +-- ...siveGetProductPortsOnlyComponentAc.ref.cpp | 2 +- ...siveGetProductPortsOnlyComponentAc.ref.hpp | 2 +- .../PassiveGetProductsComponentAc.ref.cpp | 2 +- .../PassiveGetProductsComponentAc.ref.hpp | 2 +- .../PassiveGuardedProductsComponentAc.ref.cpp | 2 +- .../PassiveGuardedProductsComponentAc.ref.hpp | 2 +- .../base/PassiveParamsComponentAc.ref.cpp | 2 +- .../base/PassiveParamsComponentAc.ref.hpp | 2 +- .../base/PassiveSerialComponentAc.ref.cpp | 2 +- .../base/PassiveSerialComponentAc.ref.hpp | 8 +-- ...iveSyncProductPortsOnlyComponentAc.ref.cpp | 2 +- ...iveSyncProductPortsOnlyComponentAc.ref.hpp | 2 +- .../PassiveSyncProductsComponentAc.ref.cpp | 2 +- .../PassiveSyncProductsComponentAc.ref.hpp | 2 +- .../base/PassiveTelemetryComponentAc.ref.cpp | 2 +- .../base/PassiveTelemetryComponentAc.ref.hpp | 2 +- .../base/PassiveTestComponentAc.ref.cpp | 2 +- .../base/PassiveTestComponentAc.ref.hpp | 8 +-- ...edAsyncProductPortsOnlyComponentAc.ref.cpp | 10 ++-- ...edAsyncProductPortsOnlyComponentAc.ref.hpp | 2 +- .../QueuedAsyncProductsComponentAc.ref.cpp | 20 +++---- .../QueuedAsyncProductsComponentAc.ref.hpp | 2 +- .../base/QueuedCommandsComponentAc.ref.cpp | 28 ++++----- .../base/QueuedCommandsComponentAc.ref.hpp | 2 +- .../base/QueuedEventsComponentAc.ref.cpp | 18 +++--- .../base/QueuedEventsComponentAc.ref.hpp | 8 +-- .../base/QueuedGetProductsComponentAc.ref.cpp | 18 +++--- .../base/QueuedGetProductsComponentAc.ref.hpp | 2 +- .../QueuedGuardedProductsComponentAc.ref.cpp | 18 +++--- .../QueuedGuardedProductsComponentAc.ref.hpp | 2 +- .../QueuedNoArgsPortsOnlyComponentAc.ref.cpp | 10 ++-- .../QueuedNoArgsPortsOnlyComponentAc.ref.hpp | 2 +- .../base/QueuedParamsComponentAc.ref.cpp | 18 +++--- .../base/QueuedParamsComponentAc.ref.hpp | 2 +- .../base/QueuedSerialComponentAc.ref.cpp | 50 ++++++++-------- .../base/QueuedSerialComponentAc.ref.hpp | 8 +-- .../QueuedSyncProductsComponentAc.ref.cpp | 18 +++--- .../QueuedSyncProductsComponentAc.ref.hpp | 2 +- .../base/QueuedTelemetryComponentAc.ref.cpp | 18 +++--- .../base/QueuedTelemetryComponentAc.ref.hpp | 2 +- .../base/QueuedTestComponentAc.ref.cpp | 42 ++++++------- .../base/QueuedTestComponentAc.ref.hpp | 8 +-- .../test/component/base/TypedPortAc.ref.cpp | 2 +- ...iveAsyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...iveAsyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../ActiveAsyncProductsTesterBase.ref.cpp | 2 +- .../ActiveAsyncProductsTesterBase.ref.hpp | 2 +- .../ActiveCommandsTesterBase.ref.cpp | 36 +++++------ .../ActiveCommandsTesterBase.ref.hpp | 36 +++++------ .../test-base/ActiveEventsTesterBase.ref.cpp | 2 +- .../test-base/ActiveEventsTesterBase.ref.hpp | 2 +- .../ActiveGetProductsTesterBase.ref.cpp | 2 +- .../ActiveGetProductsTesterBase.ref.hpp | 2 +- .../ActiveGuardedProductsTesterBase.ref.cpp | 2 +- .../ActiveGuardedProductsTesterBase.ref.hpp | 2 +- .../ActiveNoArgsPortsOnlyTesterBase.ref.cpp | 2 +- .../ActiveNoArgsPortsOnlyTesterBase.ref.hpp | 2 +- .../test-base/ActiveParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/ActiveParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/ActiveSerialTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/ActiveSerialTesterBase.ref.hpp | 60 +++++++++---------- .../ActiveSyncProductsTesterBase.ref.cpp | 2 +- .../ActiveSyncProductsTesterBase.ref.hpp | 2 +- .../ActiveTelemetryTesterBase.ref.cpp | 2 +- .../ActiveTelemetryTesterBase.ref.hpp | 2 +- .../test-base/ActiveTestTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/ActiveTestTesterBase.ref.hpp | 60 +++++++++---------- .../test-base/EmptyTesterBase.ref.cpp | 2 +- .../test-base/EmptyTesterBase.ref.hpp | 2 +- .../PassiveCommandsTesterBase.ref.cpp | 26 ++++---- .../PassiveCommandsTesterBase.ref.hpp | 26 ++++---- .../test-base/PassiveEventsTesterBase.ref.cpp | 2 +- .../test-base/PassiveEventsTesterBase.ref.hpp | 2 +- ...ssiveGetProductPortsOnlyTesterBase.ref.cpp | 2 +- ...ssiveGetProductPortsOnlyTesterBase.ref.hpp | 2 +- .../PassiveGetProductsTesterBase.ref.cpp | 2 +- .../PassiveGetProductsTesterBase.ref.hpp | 2 +- .../PassiveGuardedProductsTesterBase.ref.cpp | 2 +- .../PassiveGuardedProductsTesterBase.ref.hpp | 2 +- .../test-base/PassiveParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/PassiveParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/PassiveSerialTesterBase.ref.cpp | 50 ++++++++-------- .../test-base/PassiveSerialTesterBase.ref.hpp | 50 ++++++++-------- ...siveSyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...siveSyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../PassiveSyncProductsTesterBase.ref.cpp | 2 +- .../PassiveSyncProductsTesterBase.ref.hpp | 2 +- .../PassiveTelemetryTesterBase.ref.cpp | 2 +- .../PassiveTelemetryTesterBase.ref.hpp | 2 +- .../test-base/PassiveTestTesterBase.ref.cpp | 50 ++++++++-------- .../test-base/PassiveTestTesterBase.ref.hpp | 50 ++++++++-------- ...uedAsyncProductPortsOnlyTesterBase.ref.cpp | 2 +- ...uedAsyncProductPortsOnlyTesterBase.ref.hpp | 2 +- .../QueuedAsyncProductsTesterBase.ref.cpp | 2 +- .../QueuedAsyncProductsTesterBase.ref.hpp | 2 +- .../QueuedCommandsTesterBase.ref.cpp | 36 +++++------ .../QueuedCommandsTesterBase.ref.hpp | 36 +++++------ .../test-base/QueuedEventsTesterBase.ref.cpp | 2 +- .../test-base/QueuedEventsTesterBase.ref.hpp | 2 +- .../QueuedGetProductsTesterBase.ref.cpp | 2 +- .../QueuedGetProductsTesterBase.ref.hpp | 2 +- .../QueuedGuardedProductsTesterBase.ref.cpp | 2 +- .../QueuedGuardedProductsTesterBase.ref.hpp | 2 +- .../QueuedNoArgsPortsOnlyTesterBase.ref.cpp | 2 +- .../QueuedNoArgsPortsOnlyTesterBase.ref.hpp | 2 +- .../test-base/QueuedParamsTesterBase.ref.cpp | 26 ++++---- .../test-base/QueuedParamsTesterBase.ref.hpp | 26 ++++---- .../test-base/QueuedSerialTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/QueuedSerialTesterBase.ref.hpp | 60 +++++++++---------- .../QueuedSyncProductsTesterBase.ref.cpp | 2 +- .../QueuedSyncProductsTesterBase.ref.hpp | 2 +- .../QueuedTelemetryTesterBase.ref.cpp | 2 +- .../QueuedTelemetryTesterBase.ref.hpp | 2 +- .../test-base/QueuedTestTesterBase.ref.cpp | 60 +++++++++---------- .../test-base/QueuedTestTesterBase.ref.hpp | 60 +++++++++---------- .../ActiveAsyncProductPortsOnlyTester.ref.hpp | 2 +- .../ActiveAsyncProductsTester.ref.hpp | 2 +- .../test-impl/ActiveCommandsTester.ref.hpp | 2 +- .../test-impl/ActiveEventsTester.ref.hpp | 2 +- .../test-impl/ActiveGetProductsTester.ref.hpp | 2 +- .../ActiveGuardedProductsTester.ref.hpp | 2 +- .../ActiveNoArgsPortsOnlyTester.ref.hpp | 2 +- .../test-impl/ActiveParamsTester.ref.hpp | 2 +- .../test-impl/ActiveSerialTester.ref.hpp | 2 +- .../ActiveSyncProductsTester.ref.hpp | 2 +- .../test-impl/ActiveTelemetryTester.ref.hpp | 2 +- .../test-impl/ActiveTestTester.ref.hpp | 2 +- .../component/test-impl/EmptyTester.ref.hpp | 2 +- .../test-impl/PassiveCommandsTester.ref.hpp | 2 +- .../test-impl/PassiveEventsTester.ref.hpp | 2 +- .../PassiveGetProductPortsOnlyTester.ref.hpp | 2 +- .../PassiveGetProductsTester.ref.hpp | 2 +- .../PassiveGuardedProductsTester.ref.hpp | 2 +- .../test-impl/PassiveParamsTester.ref.hpp | 2 +- .../test-impl/PassiveSerialTester.ref.hpp | 2 +- .../PassiveSyncProductPortsOnlyTester.ref.hpp | 2 +- .../PassiveSyncProductsTester.ref.hpp | 2 +- .../test-impl/PassiveTelemetryTester.ref.hpp | 2 +- .../test-impl/PassiveTestTester.ref.hpp | 2 +- .../test-impl/QueuedCommandsTester.ref.hpp | 2 +- .../test-impl/QueuedEventsTester.ref.hpp | 2 +- .../test-impl/QueuedGetProductsTester.ref.hpp | 2 +- .../QueuedGuardedProductsTester.ref.hpp | 2 +- .../test-impl/QueuedParamsTester.ref.hpp | 2 +- .../test-impl/QueuedSerialTester.ref.hpp | 2 +- .../QueuedSyncProductsTester.ref.hpp | 2 +- .../test-impl/QueuedTelemetryTester.ref.hpp | 2 +- .../test-impl/QueuedTestTester.ref.hpp | 2 +- 189 files changed, 959 insertions(+), 958 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala index 9686e35a3..4d442f6bc 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCommands.scala @@ -163,7 +163,7 @@ case class ComponentCommands ( |Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; | |// Serialize for IPC - |_status = msg.serialize(static_cast(${commandCppConstantName(cmd)})); + |_status = msg.serialize(static_cast(${commandCppConstantName(cmd)})); |FW_ASSERT ( | _status == Fw::FW_SERIALIZE_OK, | static_cast(_status) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala index 0a05e3c15..fca455f50 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala @@ -357,11 +357,11 @@ case class ComponentCppWriter ( | // Max. message size = size of data + message id + port | SERIALIZATION_SIZE =${if (buffUnion.nonEmpty) """ | sizeof(BuffUnion) +""" else "" } - | sizeof(FwMsgIdType) + + | sizeof(FwEnumStoreType) + | sizeof(FwIndexType) | }; | - | FwSizeType getBuffCapacity() const { + | Fw::Serializable::SizeType getBuffCapacity() const { | return sizeof(m_buff); | } | @@ -413,7 +413,7 @@ case class ComponentCppWriter ( |this->m_msgSize = FW_MAX( | msgSize + | static_cast(sizeof(FwIndexType)) + - | static_cast(sizeof(FwMsgIdType)), + | static_cast(sizeof(FwEnumStoreType)), | static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) |); | @@ -779,7 +779,7 @@ case class ComponentCppWriter ( |// Reset to beginning of buffer |msg.resetDeser(); | - |FwMsgIdType desMsg = 0; + |FwEnumStoreType desMsg = 0; |Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); |FW_ASSERT( | deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala index 1930becad..cbd5fe2b2 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala @@ -292,7 +292,7 @@ abstract class ComponentCppWriterUtils( else Nil, List( CppDoc.Function.Param( - CppDoc.Type("FwInstanceIdType"), + CppDoc.Type("FwEnumStoreType"), "instance", Some("The instance number"), Some("0") diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala index c3db5c6af..f87a5a538 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentEvents.scala @@ -64,7 +64,7 @@ case class ComponentEvents ( linesClassMember( Line.blank :: lines( s"""|//! Throttle for ${event.getName} - |FwEventCounterType ${eventThrottleCounterName(event.getName)}; + |FwIndexType ${eventThrottleCounterName(event.getName)}; |""" ) ) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala index 4a023f64d..270a7fefc 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInputPorts.scala @@ -130,7 +130,7 @@ case class ComponentInputPorts( lines( s"""|// Serialize message ID |_status = $bufferName.serialize( - | static_cast(${portCppConstantName(p)}) + | static_cast(${portCppConstantName(p)}) |); |FW_ASSERT( | _status == Fw::FW_SERIALIZE_OK, diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala index 98efbe176..eea1519cc 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentInternalPort.scala @@ -56,7 +56,7 @@ case class ComponentInternalPort ( |Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; | |// Serialize the message ID - |_status = msg.serialize(static_cast(${internalPortCppConstantName(p)})); + |_status = msg.serialize(static_cast(${internalPortCppConstantName(p)})); |FW_ASSERT ( | _status == Fw::FW_SERIALIZE_OK, | static_cast(_status) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala index 1a858cf39..8cb0f7e25 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestImplWriter.scala @@ -88,7 +88,7 @@ case class ComponentTestImplWriter( |static const FwSizeType $historySizeConstantName = 10; | |// Instance ID supplied to the component instance under test - |static const FwInstanceIdType $idConstantName = 0; + |static const FwEnumStoreType $idConstantName = 0; |""" ), guardedList (data.kind != Ast.ComponentKind.Passive) ( diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala index beed387a2..41c727ee8 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala @@ -160,7 +160,7 @@ case class ComponentTesterBaseWriter( "init", List( CppDoc.Function.Param( - CppDoc.Type("FwInstanceIdType"), + CppDoc.Type("FwEnumStoreType"), "instance", Some("The instance number"), Some("0") @@ -607,7 +607,7 @@ case class ComponentTesterBaseWriter( List.concat( List( CppDoc.Function.Param( - CppDoc.Type("const FwInstanceIdType"), + CppDoc.Type("const FwEnumStoreType"), "instance", Some("The instance number") ), @@ -1097,7 +1097,7 @@ case class ComponentTesterBaseWriter( paramSendName(prm.getName), List( CppDoc.Function.Param( - CppDoc.Type("FwInstanceIdType"), + CppDoc.Type("FwEnumStoreType"), "instance", Some("The component instance") ), @@ -1137,7 +1137,7 @@ case class ComponentTesterBaseWriter( paramSaveName(prm.getName), List( CppDoc.Function.Param( - CppDoc.Type("FwInstanceIdType"), + CppDoc.Type("FwEnumStoreType"), "instance", Some("The component instance") ), diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala index db7e27929..c418a6d41 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter.scala @@ -213,7 +213,7 @@ case class PortCppWriter ( List( CppDocHppWriter.writeAccessTag("public"), Line.blank :: lines( - s"""|FwSizeType getBuffCapacity() const { + s"""|Fw::Serializable::SizeType getBuffCapacity() const { | return ${PortCppWriter.inputPortName(name)}::SERIALIZED_SIZE; |} | diff --git a/compiler/scripts/fprime-gcc b/compiler/scripts/fprime-gcc index 67863f68d..cf609a138 100755 --- a/compiler/scripts/fprime-gcc +++ b/compiler/scripts/fprime-gcc @@ -32,4 +32,5 @@ case "$os" in ;; esac -g++ --std=c++11 -Wall -Wextra -Wconversion $os_flags -DTGT_OS_TYPE_$os_type -I $FPRIME -I $FPRIME/config -I $FPRIME/cmake/platform/types -I . $FPRIME_GCC_FLAGS $@ +# Removing -Wconversion because of many implicit casts of size type in F Prime +g++ --std=c++11 -Wall -Wextra $os_flags -DTGT_OS_TYPE_$os_type -I $FPRIME -I $FPRIME/config -I $FPRIME/cmake/platform/types -I . $FPRIME_GCC_FLAGS $@ diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp index a360cd5a7..fdb95289c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.cpp @@ -36,11 +36,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -66,7 +66,7 @@ namespace { void ActiveAsyncProductPortsOnlyComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -328,7 +328,7 @@ void ActiveAsyncProductPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -453,7 +453,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductPortsOnlyComponentB // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp index 5edecbb64..20d8fe946 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductPortsOnlyComponentAc.ref.hpp @@ -56,7 +56,7 @@ class ActiveAsyncProductPortsOnlyComponentBase : //! Initialize ActiveAsyncProductPortsOnlyComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp index 5be886357..88b8a8eae 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.cpp @@ -46,11 +46,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -231,7 +231,7 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer :: void ActiveAsyncProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1839,7 +1839,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1906,7 +1906,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2036,7 +2036,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2143,7 +2143,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2250,7 +2250,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2357,7 +2357,7 @@ void ActiveAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2876,7 +2876,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveAsyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp index 428d8a7f9..88abc4054 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveAsyncProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class ActiveAsyncProductsComponentBase : //! Initialize ActiveAsyncProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp index 30826169e..44cf73d23 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.cpp @@ -49,11 +49,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -79,7 +79,7 @@ namespace { void ActiveCommandsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1586,7 +1586,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1716,7 +1716,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1823,7 +1823,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1930,7 +1930,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2037,7 +2037,7 @@ void ActiveCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3076,7 +3076,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3135,7 +3135,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3194,7 +3194,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3253,7 +3253,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3317,7 +3317,7 @@ void ActiveCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3487,7 +3487,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveCommandsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp index 71057e4d9..27c15a122 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveCommandsComponentAc.ref.hpp @@ -125,7 +125,7 @@ class ActiveCommandsComponentBase : //! Initialize ActiveCommandsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp index f1aa5432a..b9f44855a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void ActiveEventsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1505,7 +1505,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1635,7 +1635,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1742,7 +1742,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1849,7 +1849,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1956,7 +1956,7 @@ void ActiveEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3084,7 +3084,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveEventsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp index 2d25baf74..2a8c7ee27 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveEventsComponentAc.ref.hpp @@ -122,7 +122,7 @@ class ActiveEventsComponentBase : //! Initialize ActiveEventsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1404,13 +1404,13 @@ class ActiveEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp index 9deca9544..d3845a3cf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer :: void ActiveGetProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1772,7 +1772,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1902,7 +1902,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2009,7 +2009,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2116,7 +2116,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2223,7 +2223,7 @@ void ActiveGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2725,7 +2725,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGetProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp index 7c3ad7757..48d0dc278 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGetProductsComponentAc.ref.hpp @@ -208,7 +208,7 @@ class ActiveGetProductsComponentBase : //! Initialize ActiveGetProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp index 385b0035f..4857c37df 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer :: void ActiveGuardedProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1862,7 +1862,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1992,7 +1992,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2099,7 +2099,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2206,7 +2206,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2313,7 +2313,7 @@ void ActiveGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2832,7 +2832,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveGuardedProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp index 65b47348e..bafda607f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveGuardedProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class ActiveGuardedProductsComponentBase : //! Initialize ActiveGuardedProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp index 3fe9448f9..c076b9a2d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.cpp @@ -29,11 +29,11 @@ namespace { enum { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -59,7 +59,7 @@ namespace { void ActiveNoArgsPortsOnlyComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -420,7 +420,7 @@ void ActiveNoArgsPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -583,7 +583,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveNoArgsPortsOnlyComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp index 3620c5165..2863ccdc9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveNoArgsPortsOnlyComponentAc.ref.hpp @@ -59,7 +59,7 @@ class ActiveNoArgsPortsOnlyComponentBase : //! Initialize ActiveNoArgsPortsOnlyComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp index 47bf89563..12397c2af 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void ActiveParamsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1741,7 +1741,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1871,7 +1871,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1978,7 +1978,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2085,7 +2085,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2192,7 +2192,7 @@ void ActiveParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2726,7 +2726,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveParamsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp index 9cb8a88e8..236d01c95 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp @@ -132,7 +132,7 @@ class ActiveParamsComponentBase : //! Initialize ActiveParamsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index e682c0ef3..581367ac2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -82,11 +82,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -113,7 +113,7 @@ void ActiveSerialComponentBase :: init( FwQueueSizeType queueDepth, FwSizeType msgSize, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -852,7 +852,7 @@ void ActiveSerialComponentBase :: this->m_msgSize = FW_MAX( msgSize + static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(FwMsgIdType)), + static_cast(sizeof(FwEnumStoreType)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -2184,7 +2184,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2314,7 +2314,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2421,7 +2421,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2528,7 +2528,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2635,7 +2635,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2882,7 +2882,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNC_SERIAL) + static_cast(SERIALASYNC_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2932,7 +2932,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCASSERT_SERIAL) + static_cast(SERIALASYNCASSERT_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2982,7 +2982,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) + static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3032,7 +3032,7 @@ void ActiveSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCDROPPRIORITY_SERIAL) + static_cast(SERIALASYNCDROPPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3338,7 +3338,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3374,7 +3374,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3414,7 +3414,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3462,7 +3462,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3500,7 +3500,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3542,7 +3542,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4241,7 +4241,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4300,7 +4300,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4359,7 +4359,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4418,7 +4418,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4482,7 +4482,7 @@ void ActiveSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5831,7 +5831,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSerialComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index ede8ecfbc..646026a7f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -206,7 +206,7 @@ class ActiveSerialComponentBase : void init( FwQueueSizeType queueDepth, //!< The queue depth FwSizeType msgSize, //!< The message size - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -2560,13 +2560,13 @@ class ActiveSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp index c4e2bb87d..e15119f21 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer :: void ActiveSyncProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1856,7 +1856,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1986,7 +1986,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2093,7 +2093,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2200,7 +2200,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2307,7 +2307,7 @@ void ActiveSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2826,7 +2826,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveSyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp index f97ed1234..9f882711e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSyncProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class ActiveSyncProductsComponentBase : //! Initialize ActiveSyncProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp index 73922d45a..3a2e4c547 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void ActiveTelemetryComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1508,7 +1508,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1638,7 +1638,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1745,7 +1745,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1852,7 +1852,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1959,7 +1959,7 @@ void ActiveTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2789,7 +2789,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus ActiveTelemetryComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp index bb434149c..5220f6387 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTelemetryComponentAc.ref.hpp @@ -119,7 +119,7 @@ class ActiveTelemetryComponentBase : //! Initialize ActiveTelemetryComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp index 60950315b..7519abd3d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp @@ -82,11 +82,11 @@ namespace M { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -267,7 +267,7 @@ namespace M { void ActiveTestComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -2192,7 +2192,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2259,7 +2259,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2389,7 +2389,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2496,7 +2496,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2603,7 +2603,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2710,7 +2710,7 @@ namespace M { // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3152,7 +3152,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3188,7 +3188,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3228,7 +3228,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3276,7 +3276,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3314,7 +3314,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3356,7 +3356,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4055,7 +4055,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4114,7 +4114,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4173,7 +4173,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4232,7 +4232,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4296,7 +4296,7 @@ namespace M { Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5673,7 +5673,7 @@ namespace M { // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp index 0632376e1..66ff2f3eb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp @@ -297,7 +297,7 @@ namespace M { //! Initialize ActiveTestComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -2545,13 +2545,13 @@ namespace M { // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp index 15707c8ee..bce5eaccf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void EmptyComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp index ceff97660..46f6cf019 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/EmptyComponentAc.ref.hpp @@ -33,7 +33,7 @@ class EmptyComponentBase : //! Initialize EmptyComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); PROTECTED: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp index 59f860c47..7ba637261 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/NoArgsPortAc.ref.cpp @@ -20,7 +20,7 @@ namespace Ports { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputNoArgsPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp index 87ec381ed..f2da9a896 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveCommandsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp index 464659db4..9230603cb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveCommandsComponentAc.ref.hpp @@ -114,7 +114,7 @@ class PassiveCommandsComponentBase : //! Initialize PassiveCommandsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp index 3e979b838..b95c1b6c8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveEventsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp index 3c080aaf5..33f881d78 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveEventsComponentAc.ref.hpp @@ -116,7 +116,7 @@ class PassiveEventsComponentBase : //! Initialize PassiveEventsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1087,13 +1087,13 @@ class PassiveEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp index ccd9302d0..25deafa55 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductPortsOnlyComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp index ecfbe9aec..25b8f589a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductPortsOnlyComponentAc.ref.hpp @@ -49,7 +49,7 @@ class PassiveGetProductPortsOnlyComponentBase : //! Initialize PassiveGetProductPortsOnlyComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp index f7479fecc..c8cfb5674 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveGetProductsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp index c5a70b1fd..04b470ef6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGetProductsComponentAc.ref.hpp @@ -202,7 +202,7 @@ class PassiveGetProductsComponentBase : //! Initialize PassiveGetProductsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp index a5198dbd0..745e6a08b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveGuardedProductsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp index ba6b5d910..5b535f980 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveGuardedProductsComponentAc.ref.hpp @@ -204,7 +204,7 @@ class PassiveGuardedProductsComponentBase : //! Initialize PassiveGuardedProductsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp index 6e11ab49f..da6319d86 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveParamsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp index 2bd1a282e..d9971ada9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp @@ -126,7 +126,7 @@ class PassiveParamsComponentBase : //! Initialize PassiveParamsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index e584ac588..7dcee29eb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveSerialComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index e5b74373c..17c457a34 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -189,7 +189,7 @@ class PassiveSerialComponentBase : //! Initialize PassiveSerialComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1861,13 +1861,13 @@ class PassiveSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp index bc4cec1d7..801860ba0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductPortsOnlyComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp index 736959812..38365fb58 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductPortsOnlyComponentAc.ref.hpp @@ -55,7 +55,7 @@ class PassiveSyncProductPortsOnlyComponentBase : //! Initialize PassiveSyncProductPortsOnlyComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp index 0252faef0..918cba671 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveSyncProductsComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp index 1df7e5ee0..44ee457ac 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSyncProductsComponentAc.ref.hpp @@ -204,7 +204,7 @@ class PassiveSyncProductsComponentBase : //! Initialize PassiveSyncProductsComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp index 3d76bcde6..4c1bd3985 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------- void PassiveTelemetryComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp index b6f57f853..6c6dc664a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTelemetryComponentAc.ref.hpp @@ -113,7 +113,7 @@ class PassiveTelemetryComponentBase : //! Initialize PassiveTelemetryComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp index c11cb2a81..79f720c26 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp @@ -172,7 +172,7 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer :: // ---------------------------------------------------------------------- void PassiveTestComponentBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp index 6d19f3082..4ff515b1b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp @@ -283,7 +283,7 @@ class PassiveTestComponentBase : //! Initialize PassiveTestComponentBase object void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -2019,13 +2019,13 @@ class PassiveTestComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp index 27f6526cd..b09b3d5f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.cpp @@ -36,11 +36,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -66,7 +66,7 @@ namespace { void QueuedAsyncProductPortsOnlyComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -328,7 +328,7 @@ void QueuedAsyncProductPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -458,7 +458,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductPortsOnlyComponentB // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp index 051be5373..32facb995 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductPortsOnlyComponentAc.ref.hpp @@ -56,7 +56,7 @@ class QueuedAsyncProductPortsOnlyComponentBase : //! Initialize QueuedAsyncProductPortsOnlyComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp index 48c378433..38c8712bb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.cpp @@ -46,11 +46,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -231,7 +231,7 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer :: void QueuedAsyncProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1839,7 +1839,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1906,7 +1906,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2036,7 +2036,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2143,7 +2143,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2250,7 +2250,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2357,7 +2357,7 @@ void QueuedAsyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2876,7 +2876,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedAsyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp index a2b912f03..a93b02b6c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedAsyncProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class QueuedAsyncProductsComponentBase : //! Initialize QueuedAsyncProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp index 7db5823c4..0d7156171 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.cpp @@ -49,11 +49,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -79,7 +79,7 @@ namespace { void QueuedCommandsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1586,7 +1586,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1716,7 +1716,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1823,7 +1823,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1930,7 +1930,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2037,7 +2037,7 @@ void QueuedCommandsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3076,7 +3076,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3135,7 +3135,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3194,7 +3194,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3253,7 +3253,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3317,7 +3317,7 @@ void QueuedCommandsComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3492,7 +3492,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedCommandsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp index 3044ad831..725193b9c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedCommandsComponentAc.ref.hpp @@ -125,7 +125,7 @@ class QueuedCommandsComponentBase : //! Initialize QueuedCommandsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp index 5da09c18b..405156177 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void QueuedEventsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1505,7 +1505,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1635,7 +1635,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1742,7 +1742,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1849,7 +1849,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1956,7 +1956,7 @@ void QueuedEventsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3089,7 +3089,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedEventsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp index d25550134..3e39450be 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedEventsComponentAc.ref.hpp @@ -122,7 +122,7 @@ class QueuedEventsComponentBase : //! Initialize QueuedEventsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1404,13 +1404,13 @@ class QueuedEventsComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp index 3fad4bf44..6a0368a00 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer :: void QueuedGetProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1772,7 +1772,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1902,7 +1902,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2009,7 +2009,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2116,7 +2116,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2223,7 +2223,7 @@ void QueuedGetProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2725,7 +2725,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGetProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp index d21feb45b..98938547d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGetProductsComponentAc.ref.hpp @@ -208,7 +208,7 @@ class QueuedGetProductsComponentBase : //! Initialize QueuedGetProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp index 6586b2789..ae87cedaf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer :: void QueuedGuardedProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1862,7 +1862,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1992,7 +1992,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2099,7 +2099,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2206,7 +2206,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2313,7 +2313,7 @@ void QueuedGuardedProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2832,7 +2832,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedGuardedProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp index b8f862834..3a414c7e7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedGuardedProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class QueuedGuardedProductsComponentBase : //! Initialize QueuedGuardedProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp index 0244485ac..19296baf8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.cpp @@ -29,11 +29,11 @@ namespace { enum { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -59,7 +59,7 @@ namespace { void QueuedNoArgsPortsOnlyComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -420,7 +420,7 @@ void QueuedNoArgsPortsOnlyComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -588,7 +588,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedNoArgsPortsOnlyComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp index 83a5b9d04..31990940f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedNoArgsPortsOnlyComponentAc.ref.hpp @@ -59,7 +59,7 @@ class QueuedNoArgsPortsOnlyComponentBase : //! Initialize QueuedNoArgsPortsOnlyComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp index 6afcc80ca..b19870427 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void QueuedParamsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1741,7 +1741,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1871,7 +1871,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1978,7 +1978,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2085,7 +2085,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2192,7 +2192,7 @@ void QueuedParamsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2731,7 +2731,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedParamsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp index 7a8cf8dbc..3776d21bd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp @@ -132,7 +132,7 @@ class QueuedParamsComponentBase : //! Initialize QueuedParamsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index e47b29cf2..08fa4a935 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -82,11 +82,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -113,7 +113,7 @@ void QueuedSerialComponentBase :: init( FwQueueSizeType queueDepth, FwSizeType msgSize, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -852,7 +852,7 @@ void QueuedSerialComponentBase :: this->m_msgSize = FW_MAX( msgSize + static_cast(sizeof(FwIndexType)) + - static_cast(sizeof(FwMsgIdType)), + static_cast(sizeof(FwEnumStoreType)), static_cast(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE) ); @@ -2184,7 +2184,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2314,7 +2314,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2421,7 +2421,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2528,7 +2528,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2635,7 +2635,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2882,7 +2882,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNC_SERIAL) + static_cast(SERIALASYNC_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2932,7 +2932,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCASSERT_SERIAL) + static_cast(SERIALASYNCASSERT_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2982,7 +2982,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) + static_cast(SERIALASYNCBLOCKPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3032,7 +3032,7 @@ void QueuedSerialComponentBase :: // Serialize message ID _status = msgSerBuff.serialize( - static_cast(SERIALASYNCDROPPRIORITY_SERIAL) + static_cast(SERIALASYNCDROPPRIORITY_SERIAL) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3338,7 +3338,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3374,7 +3374,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3414,7 +3414,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3462,7 +3462,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3500,7 +3500,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3542,7 +3542,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4241,7 +4241,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4300,7 +4300,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4359,7 +4359,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4418,7 +4418,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4482,7 +4482,7 @@ void QueuedSerialComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5836,7 +5836,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSerialComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index 8cb71ca69..5b8a4dd52 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -206,7 +206,7 @@ class QueuedSerialComponentBase : void init( FwQueueSizeType queueDepth, //!< The queue depth FwSizeType msgSize, //!< The message size - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -2560,13 +2560,13 @@ class QueuedSerialComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp index 13475b16d..efa3fc63a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -229,7 +229,7 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer :: void QueuedSyncProductsComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1856,7 +1856,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1986,7 +1986,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2093,7 +2093,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2200,7 +2200,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2307,7 +2307,7 @@ void QueuedSyncProductsComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2826,7 +2826,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedSyncProductsComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp index 02fbc2da3..0f8e4353a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSyncProductsComponentAc.ref.hpp @@ -210,7 +210,7 @@ class QueuedSyncProductsComponentBase : //! Initialize QueuedSyncProductsComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp index 37c7507d5..5c10833cf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.cpp @@ -44,11 +44,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -74,7 +74,7 @@ namespace { void QueuedTelemetryComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -1508,7 +1508,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1638,7 +1638,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1745,7 +1745,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1852,7 +1852,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -1959,7 +1959,7 @@ void QueuedTelemetryComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2794,7 +2794,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTelemetryComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp index d01f36a99..e5c09ed17 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTelemetryComponentAc.ref.hpp @@ -119,7 +119,7 @@ class QueuedTelemetryComponentBase : //! Initialize QueuedTelemetryComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp index c59d08b84..a1b416625 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp @@ -80,11 +80,11 @@ namespace { // Max. message size = size of data + message id + port SERIALIZATION_SIZE = sizeof(BuffUnion) + - sizeof(FwMsgIdType) + + sizeof(FwEnumStoreType) + sizeof(FwIndexType) }; - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return sizeof(m_buff); } @@ -265,7 +265,7 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer :: void QueuedTestComponentBase :: init( FwQueueSizeType queueDepth, - FwInstanceIdType instance + FwEnumStoreType instance ) { // Initialize base class @@ -2190,7 +2190,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(PRODUCTRECVIN_DPRESPONSE) + static_cast(PRODUCTRECVIN_DPRESPONSE) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2257,7 +2257,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(NOARGSASYNC_NOARGS) + static_cast(NOARGSASYNC_NOARGS) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2387,7 +2387,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNC_TYPED) + static_cast(TYPEDASYNC_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2494,7 +2494,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCASSERT_TYPED) + static_cast(TYPEDASYNCASSERT_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2601,7 +2601,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) + static_cast(TYPEDASYNCBLOCKPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -2708,7 +2708,7 @@ void QueuedTestComponentBase :: // Serialize message ID _status = msg.serialize( - static_cast(TYPEDASYNCDROPPRIORITY_TYPED) + static_cast(TYPEDASYNCDROPPRIORITY_TYPED) ); FW_ASSERT( _status == Fw::FW_SERIALIZE_OK, @@ -3150,7 +3150,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); + _status = msg.serialize(static_cast(INT_IF_INTERNALARRAY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3186,7 +3186,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); + _status = msg.serialize(static_cast(INT_IF_INTERNALENUM)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3226,7 +3226,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIMITIVE)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3274,7 +3274,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); + _status = msg.serialize(static_cast(INT_IF_INTERNALPRIORITYDROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3312,7 +3312,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRING)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -3354,7 +3354,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize the message ID - _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); + _status = msg.serialize(static_cast(INT_IF_INTERNALSTRUCT)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4053,7 +4053,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); + _status = msg.serialize(static_cast(CMD_CMD_ASYNC)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4112,7 +4112,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4171,7 +4171,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4230,7 +4230,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -4294,7 +4294,7 @@ void QueuedTestComponentBase :: Fw::SerializeStatus _status = Fw::FW_SERIALIZE_OK; // Serialize for IPC - _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); + _status = msg.serialize(static_cast(CMD_CMD_PARAMS_PRIORITY_DROP)); FW_ASSERT ( _status == Fw::FW_SERIALIZE_OK, static_cast(_status) @@ -5676,7 +5676,7 @@ Fw::QueuedComponentBase::MsgDispatchStatus QueuedTestComponentBase :: // Reset to beginning of buffer msg.resetDeser(); - FwMsgIdType desMsg = 0; + FwEnumStoreType desMsg = 0; Fw::SerializeStatus deserStatus = msg.deserialize(desMsg); FW_ASSERT( deserStatus == Fw::FW_SERIALIZE_OK, diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp index 38ccde148..d8f6dd3e4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp @@ -295,7 +295,7 @@ class QueuedTestComponentBase : //! Initialize QueuedTestComponentBase object void init( FwQueueSizeType queueDepth, //!< The queue depth - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -2543,13 +2543,13 @@ class QueuedTestComponentBase : // ---------------------------------------------------------------------- //! Throttle for EventActivityLowThrottled - FwEventCounterType m_EventActivityLowThrottledThrottle; + FwIndexType m_EventActivityLowThrottledThrottle; //! Throttle for EventFatalThrottled - FwEventCounterType m_EventFatalThrottledThrottle; + FwIndexType m_EventFatalThrottledThrottle; //! Throttle for EventWarningLowThrottled - FwEventCounterType m_EventWarningLowThrottledThrottle; + FwIndexType m_EventWarningLowThrottledThrottle; PRIVATE: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp index 03dd4ba04..6c76ee0c9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/TypedPortAc.ref.cpp @@ -103,7 +103,7 @@ namespace Ports { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputTypedPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp index 342460041..e07ef34f8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveAsyncProductPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp index f15df7fdc..694b1816c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class ActiveAsyncProductPortsOnlyTesterBase : //! Initialize object ActiveAsyncProductPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp index 642940b68..2c76086dc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveAsyncProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp index bd378271b..d2414105a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveAsyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveAsyncProductsTesterBase : //! Initialize object ActiveAsyncProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp index 49688172a..97d9b9420 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveCommandsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1554,7 +1554,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1579,7 +1579,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1627,7 +1627,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1668,7 +1668,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1702,7 +1702,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1736,7 +1736,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1770,7 +1770,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1795,7 +1795,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1843,7 +1843,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1884,7 +1884,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1918,7 +1918,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1952,7 +1952,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1986,7 +1986,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2011,7 +2011,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2036,7 +2036,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2070,7 +2070,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2095,7 +2095,7 @@ void ActiveCommandsTesterBase :: void ActiveCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp index 7b80278a7..c219ad40d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class ActiveCommandsTesterBase : //! Initialize object ActiveCommandsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -818,13 +818,13 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -833,7 +833,7 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -841,34 +841,34 @@ class ActiveCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -877,7 +877,7 @@ class ActiveCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -885,53 +885,53 @@ class ActiveCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp index e574233b3..feaa7a9c0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveEventsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp index f34d8d078..6c7e066e9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class ActiveEventsTesterBase : //! Initialize object ActiveEventsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp index 6ee353856..318691935 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveGetProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp index a9c41a9f0..f12771213 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveGetProductsTesterBase : //! Initialize object ActiveGetProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp index 9f978e1de..aa0ee8d39 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveGuardedProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp index e13adad6a..432e2b162 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveGuardedProductsTesterBase : //! Initialize object ActiveGuardedProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp index f4e3b54b1..98a304009 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveNoArgsPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp index 4de3180bf..fca6b1026 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveNoArgsPortsOnlyTesterBase.ref.hpp @@ -114,7 +114,7 @@ class ActiveNoArgsPortsOnlyTesterBase : //! Initialize object ActiveNoArgsPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp index ec1845e93..5d066a6d6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveParamsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1622,7 +1622,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1649,7 +1649,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1681,7 +1681,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1708,7 +1708,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1740,7 +1740,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1767,7 +1767,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1799,7 +1799,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1826,7 +1826,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1858,7 +1858,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1885,7 +1885,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1917,7 +1917,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1944,7 +1944,7 @@ void ActiveParamsTesterBase :: void ActiveParamsTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp index d8872e575..d108cc266 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class ActiveParamsTesterBase : //! Initialize object ActiveParamsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -830,13 +830,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -848,13 +848,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -866,13 +866,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -884,13 +884,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -902,13 +902,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -920,13 +920,13 @@ class ActiveParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp index 4a94202f7..d68526be3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveSerialTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -2182,7 +2182,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2207,7 +2207,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2255,7 +2255,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2296,7 +2296,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2330,7 +2330,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2364,7 +2364,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2398,7 +2398,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2423,7 +2423,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2471,7 +2471,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2512,7 +2512,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2546,7 +2546,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2580,7 +2580,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2614,7 +2614,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2639,7 +2639,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2664,7 +2664,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2698,7 +2698,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2723,7 +2723,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -3463,7 +3463,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3490,7 +3490,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3522,7 +3522,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3549,7 +3549,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3581,7 +3581,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3608,7 +3608,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3640,7 +3640,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3667,7 +3667,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3699,7 +3699,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3726,7 +3726,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3758,7 +3758,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3785,7 +3785,7 @@ void ActiveSerialTesterBase :: void ActiveSerialTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp index a8f94ffe1..a96771161 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class ActiveSerialTesterBase : //! Initialize object ActiveSerialTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1092,13 +1092,13 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1107,7 +1107,7 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1115,34 +1115,34 @@ class ActiveSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1151,7 +1151,7 @@ class ActiveSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1159,53 +1159,53 @@ class ActiveSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1363,13 +1363,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1381,13 +1381,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1399,13 +1399,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1417,13 +1417,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1435,13 +1435,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1453,13 +1453,13 @@ class ActiveSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp index 28f251d17..36cf180bf 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveSyncProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp index 0d5690382..eec1007d0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class ActiveSyncProductsTesterBase : //! Initialize object ActiveSyncProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp index cee2e9c3d..d5bd08961 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void ActiveTelemetryTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp index 43ccef64d..004fc5db5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class ActiveTelemetryTesterBase : //! Initialize object ActiveTelemetryTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp index a3681a42b..c42211603 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.cpp @@ -16,7 +16,7 @@ namespace M { // ---------------------------------------------------------------------- void ActiveTestTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1870,7 +1870,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1895,7 +1895,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1943,7 +1943,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1984,7 +1984,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2018,7 +2018,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2052,7 +2052,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2086,7 +2086,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2111,7 +2111,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2159,7 +2159,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2200,7 +2200,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2234,7 +2234,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2268,7 +2268,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2302,7 +2302,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2327,7 +2327,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2352,7 +2352,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2386,7 +2386,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2411,7 +2411,7 @@ namespace M { void ActiveTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -3151,7 +3151,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3178,7 +3178,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3210,7 +3210,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3237,7 +3237,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3269,7 +3269,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3296,7 +3296,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3328,7 +3328,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3355,7 +3355,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3387,7 +3387,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3414,7 +3414,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3446,7 +3446,7 @@ namespace M { void ActiveTestTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3473,7 +3473,7 @@ namespace M { void ActiveTestTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp index 4bd0f9b89..b0fbe1afe 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/ActiveTestTesterBase.ref.hpp @@ -264,7 +264,7 @@ namespace M { //! Initialize object ActiveTestTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -981,13 +981,13 @@ namespace M { //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -996,7 +996,7 @@ namespace M { //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1004,34 +1004,34 @@ namespace M { //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1040,7 +1040,7 @@ namespace M { //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1048,53 +1048,53 @@ namespace M { //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1252,13 +1252,13 @@ namespace M { //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1270,13 +1270,13 @@ namespace M { //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1288,13 +1288,13 @@ namespace M { //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1306,13 +1306,13 @@ namespace M { //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1324,13 +1324,13 @@ namespace M { //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1342,13 +1342,13 @@ namespace M { //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp index ce567b419..622003536 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void EmptyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp index 4351561a1..b50e28eee 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/EmptyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class EmptyTesterBase : //! Initialize object EmptyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); protected: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp index 973cb6693..cec352803 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveCommandsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1181,7 +1181,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1206,7 +1206,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1254,7 +1254,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1295,7 +1295,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1329,7 +1329,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1363,7 +1363,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1397,7 +1397,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1422,7 +1422,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1470,7 +1470,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1511,7 +1511,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1545,7 +1545,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1579,7 +1579,7 @@ void PassiveCommandsTesterBase :: void PassiveCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp index aaeadbd9b..a4524aa5b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class PassiveCommandsTesterBase : //! Initialize object PassiveCommandsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -675,13 +675,13 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -690,7 +690,7 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -698,34 +698,34 @@ class PassiveCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -734,7 +734,7 @@ class PassiveCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -742,21 +742,21 @@ class PassiveCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp index fabfa78f9..ef4c91f0b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveEventsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp index afefb48c1..0dbefbe02 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class PassiveEventsTesterBase : //! Initialize object PassiveEventsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp index f2195cdab..2d96a4733 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp index df6191fa4..2ba2c6925 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class PassiveGetProductPortsOnlyTesterBase : //! Initialize object PassiveGetProductPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp index ddba8c0d9..6613b2a40 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGetProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp index 88a5cf9cf..bb02ab167 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveGetProductsTesterBase : //! Initialize object PassiveGetProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp index 21a05029d..860da7382 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveGuardedProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp index d6e815af2..c88704d5e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveGuardedProductsTesterBase : //! Initialize object PassiveGuardedProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp index a0a628c7c..184e95c21 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveParamsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1249,7 +1249,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1276,7 +1276,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1308,7 +1308,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1335,7 +1335,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1367,7 +1367,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1394,7 +1394,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1426,7 +1426,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1453,7 +1453,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1485,7 +1485,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1512,7 +1512,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1544,7 +1544,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1571,7 +1571,7 @@ void PassiveParamsTesterBase :: void PassiveParamsTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp index d478f0d52..609675a68 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class PassiveParamsTesterBase : //! Initialize object PassiveParamsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -687,13 +687,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -705,13 +705,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -723,13 +723,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -741,13 +741,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -759,13 +759,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -777,13 +777,13 @@ class PassiveParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp index 33537d05d..6fdc0c0d3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSerialTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1545,7 +1545,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1570,7 +1570,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1618,7 +1618,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1659,7 +1659,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1693,7 +1693,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1727,7 +1727,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1761,7 +1761,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1786,7 +1786,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1834,7 +1834,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1875,7 +1875,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1909,7 +1909,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1943,7 +1943,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2683,7 +2683,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2710,7 +2710,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2742,7 +2742,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2769,7 +2769,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2801,7 +2801,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2828,7 +2828,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2860,7 +2860,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2887,7 +2887,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2919,7 +2919,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2946,7 +2946,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2978,7 +2978,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3005,7 +3005,7 @@ void PassiveSerialTesterBase :: void PassiveSerialTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp index 552603b7f..2c082bf19 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class PassiveSerialTesterBase : //! Initialize object PassiveSerialTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -853,13 +853,13 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -868,7 +868,7 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -876,34 +876,34 @@ class PassiveSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -912,7 +912,7 @@ class PassiveSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -920,21 +920,21 @@ class PassiveSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); @@ -1092,13 +1092,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1110,13 +1110,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1128,13 +1128,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1146,13 +1146,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1164,13 +1164,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1182,13 +1182,13 @@ class PassiveSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp index c29d78296..8086d55b8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp index 4b2d8e030..8197f18f8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class PassiveSyncProductPortsOnlyTesterBase : //! Initialize object PassiveSyncProductPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp index f331f219c..0c5e347bc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveSyncProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp index 617dd567f..13a138d19 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class PassiveSyncProductsTesterBase : //! Initialize object PassiveSyncProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp index c71d886da..403a82c9d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveTelemetryTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp index 5e74e4383..3763e3b02 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class PassiveTelemetryTesterBase : //! Initialize object PassiveTelemetryTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp index 293c85587..5ebca4642 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void PassiveTestTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1495,7 +1495,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1520,7 +1520,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1568,7 +1568,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1609,7 +1609,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1643,7 +1643,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1677,7 +1677,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1711,7 +1711,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1736,7 +1736,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1784,7 +1784,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1825,7 +1825,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1859,7 +1859,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1893,7 +1893,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2633,7 +2633,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2660,7 +2660,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2692,7 +2692,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2719,7 +2719,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2751,7 +2751,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2778,7 +2778,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2810,7 +2810,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2837,7 +2837,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2869,7 +2869,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2896,7 +2896,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2928,7 +2928,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -2955,7 +2955,7 @@ void PassiveTestTesterBase :: void PassiveTestTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp index 1ac1b262e..7173e9dc5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/PassiveTestTesterBase.ref.hpp @@ -262,7 +262,7 @@ class PassiveTestTesterBase : //! Initialize object PassiveTestTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -836,13 +836,13 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -851,7 +851,7 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -859,34 +859,34 @@ class PassiveTestTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -895,7 +895,7 @@ class PassiveTestTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -903,21 +903,21 @@ class PassiveTestTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); @@ -1075,13 +1075,13 @@ class PassiveTestTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1093,13 +1093,13 @@ class PassiveTestTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1111,13 +1111,13 @@ class PassiveTestTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1129,13 +1129,13 @@ class PassiveTestTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1147,13 +1147,13 @@ class PassiveTestTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1165,13 +1165,13 @@ class PassiveTestTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp index bd5ca3b61..96a3f9f0a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedAsyncProductPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp index f926603db..627a40a61 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductPortsOnlyTesterBase.ref.hpp @@ -28,7 +28,7 @@ class QueuedAsyncProductPortsOnlyTesterBase : //! Initialize object QueuedAsyncProductPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp index 55ebbc7c5..99bfd73d7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedAsyncProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp index cdc602e05..ac215a516 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedAsyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedAsyncProductsTesterBase : //! Initialize object QueuedAsyncProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp index 4a430d58a..3bdadcbf3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedCommandsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1554,7 +1554,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1579,7 +1579,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1627,7 +1627,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1668,7 +1668,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1702,7 +1702,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1736,7 +1736,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1770,7 +1770,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1795,7 +1795,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1843,7 +1843,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1884,7 +1884,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -1918,7 +1918,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -1952,7 +1952,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -1986,7 +1986,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2011,7 +2011,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2036,7 +2036,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2070,7 +2070,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2095,7 +2095,7 @@ void QueuedCommandsTesterBase :: void QueuedCommandsTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp index 8271a67a8..4fa35f553 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedCommandsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class QueuedCommandsTesterBase : //! Initialize object QueuedCommandsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -818,13 +818,13 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -833,7 +833,7 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -841,34 +841,34 @@ class QueuedCommandsTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -877,7 +877,7 @@ class QueuedCommandsTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -885,53 +885,53 @@ class QueuedCommandsTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp index c31c88c24..e32b6480b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedEventsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp index 117c5c6b9..a35b54241 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedEventsTesterBase.ref.hpp @@ -176,7 +176,7 @@ class QueuedEventsTesterBase : //! Initialize object QueuedEventsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp index 0b8af794b..610d965ed 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedGetProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp index 3613fc50a..60c38541d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGetProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedGetProductsTesterBase : //! Initialize object QueuedGetProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp index 1a69d1a56..299ceb35f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedGuardedProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp index 1ec5a13ab..03b2294be 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedGuardedProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedGuardedProductsTesterBase : //! Initialize object QueuedGuardedProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp index ce8ab70db..78cc85da8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp index 053d06e4e..b106a4014 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedNoArgsPortsOnlyTesterBase.ref.hpp @@ -114,7 +114,7 @@ class QueuedNoArgsPortsOnlyTesterBase : //! Initialize object QueuedNoArgsPortsOnlyTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp index 52c6ef5d2..14dd2efb8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedParamsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1622,7 +1622,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1649,7 +1649,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1681,7 +1681,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1708,7 +1708,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1740,7 +1740,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1767,7 +1767,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1799,7 +1799,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1826,7 +1826,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1858,7 +1858,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1885,7 +1885,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1917,7 +1917,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -1944,7 +1944,7 @@ void QueuedParamsTesterBase :: void QueuedParamsTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp index de86adc90..f555850f0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedParamsTesterBase.ref.hpp @@ -143,7 +143,7 @@ class QueuedParamsTesterBase : //! Initialize object QueuedParamsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -830,13 +830,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -848,13 +848,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -866,13 +866,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -884,13 +884,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -902,13 +902,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -920,13 +920,13 @@ class QueuedParamsTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp index a908ecbc8..e3375c719 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedSerialTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -2182,7 +2182,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2207,7 +2207,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2255,7 +2255,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2296,7 +2296,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2330,7 +2330,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2364,7 +2364,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2398,7 +2398,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2423,7 +2423,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2471,7 +2471,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2512,7 +2512,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2546,7 +2546,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2580,7 +2580,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2614,7 +2614,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2639,7 +2639,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2664,7 +2664,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2698,7 +2698,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2723,7 +2723,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -3463,7 +3463,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3490,7 +3490,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3522,7 +3522,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3549,7 +3549,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3581,7 +3581,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3608,7 +3608,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3640,7 +3640,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3667,7 +3667,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3699,7 +3699,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3726,7 +3726,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3758,7 +3758,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3785,7 +3785,7 @@ void QueuedSerialTesterBase :: void QueuedSerialTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp index c66683aee..b4d17aa48 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSerialTesterBase.ref.hpp @@ -249,7 +249,7 @@ class QueuedSerialTesterBase : //! Initialize object QueuedSerialTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -1092,13 +1092,13 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1107,7 +1107,7 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1115,34 +1115,34 @@ class QueuedSerialTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1151,7 +1151,7 @@ class QueuedSerialTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1159,53 +1159,53 @@ class QueuedSerialTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1363,13 +1363,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1381,13 +1381,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1399,13 +1399,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1417,13 +1417,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1435,13 +1435,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1453,13 +1453,13 @@ class QueuedSerialTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp index 7f9aced4b..1d9b88227 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedSyncProductsTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp index cf9607271..3b0718a6a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedSyncProductsTesterBase.ref.hpp @@ -149,7 +149,7 @@ class QueuedSyncProductsTesterBase : //! Initialize object QueuedSyncProductsTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp index add75020f..5bdfede09 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedTelemetryTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp index bf9ef18c4..0272a204b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTelemetryTesterBase.ref.hpp @@ -202,7 +202,7 @@ class QueuedTelemetryTesterBase : //! Initialize object QueuedTelemetryTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp index e5e55933d..aee3a6d22 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.cpp @@ -14,7 +14,7 @@ // ---------------------------------------------------------------------- void QueuedTestTesterBase :: - init(FwInstanceIdType instance) + init(FwEnumStoreType instance) { // Initialize base class Fw::PassiveComponentBase::init(instance); @@ -1868,7 +1868,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -1893,7 +1893,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -1941,7 +1941,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -1982,7 +1982,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2016,7 +2016,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2050,7 +2050,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2084,7 +2084,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2109,7 +2109,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32, F32 f32, @@ -2157,7 +2157,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, const Fw::CmdStringArg& str1, const Fw::CmdStringArg& str2 @@ -2198,7 +2198,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, E e ) @@ -2232,7 +2232,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, A a ) @@ -2266,7 +2266,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, S s ) @@ -2300,7 +2300,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2325,7 +2325,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2350,7 +2350,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -2384,7 +2384,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq ) { @@ -2409,7 +2409,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, + const FwEnumStoreType instance, U32 cmdSeq, U32 u32 ) @@ -3149,7 +3149,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3176,7 +3176,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamU32( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3208,7 +3208,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3235,7 +3235,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamF64( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3267,7 +3267,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3294,7 +3294,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamString( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3326,7 +3326,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3353,7 +3353,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamEnum( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3385,7 +3385,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3412,7 +3412,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamArray( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3444,7 +3444,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSend_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { @@ -3471,7 +3471,7 @@ void QueuedTestTesterBase :: void QueuedTestTesterBase :: paramSave_ParamStruct( - FwInstanceIdType instance, + FwEnumStoreType instance, U32 cmdSeq ) { diff --git a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp index 4a9fede9a..6aee6f596 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-base/QueuedTestTesterBase.ref.hpp @@ -262,7 +262,7 @@ class QueuedTestTesterBase : //! Initialize object QueuedTestTesterBase virtual void init( - FwInstanceIdType instance = 0 //!< The instance number + FwEnumStoreType instance = 0 //!< The instance number ); public: @@ -979,13 +979,13 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC command void sendCmd_CMD_SYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_SYNC_PRIMITIVE command void sendCmd_CMD_SYNC_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -994,7 +994,7 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC_STRING command void sendCmd_CMD_SYNC_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1002,34 +1002,34 @@ class QueuedTestTesterBase : //! Send a CMD_SYNC_ENUM command void sendCmd_CMD_SYNC_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_SYNC_ARRAY command void sendCmd_CMD_SYNC_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_SYNC_STRUCT command void sendCmd_CMD_SYNC_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_GUARDED command void sendCmd_CMD_GUARDED( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_GUARDED_PRIMITIVE command void sendCmd_CMD_GUARDED_PRIMITIVE( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32, //!< A U32 F32 f32, //!< An F32 @@ -1038,7 +1038,7 @@ class QueuedTestTesterBase : //! Send a CMD_GUARDED_STRING command void sendCmd_CMD_GUARDED_STRING( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number const Fw::CmdStringArg& str1, //!< A string const Fw::CmdStringArg& str2 //!< Another string @@ -1046,53 +1046,53 @@ class QueuedTestTesterBase : //! Send a CMD_GUARDED_ENUM command void sendCmd_CMD_GUARDED_ENUM( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number E e //!< An enum ); //! Send a CMD_GUARDED_ARRAY command void sendCmd_CMD_GUARDED_ARRAY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number A a //!< An array ); //! Send a CMD_GUARDED_STRUCT command void sendCmd_CMD_GUARDED_STRUCT( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number S s //!< A struct ); //! Send a CMD_ASYNC command void sendCmd_CMD_ASYNC( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PRIORITY command void sendCmd_CMD_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY command void sendCmd_CMD_PARAMS_PRIORITY( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); //! Send a CMD_DROP command void sendCmd_CMD_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq //!< The command sequence number ); //! Send a CMD_PARAMS_PRIORITY_DROP command void sendCmd_CMD_PARAMS_PRIORITY_DROP( - const FwInstanceIdType instance, //!< The instance number + const FwEnumStoreType instance, //!< The instance number U32 cmdSeq, //!< The command sequence number U32 u32 ); @@ -1250,13 +1250,13 @@ class QueuedTestTesterBase : //! Send parameter ParamU32 void paramSend_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamU32 void paramSave_ParamU32( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1268,13 +1268,13 @@ class QueuedTestTesterBase : //! Send parameter ParamF64 void paramSend_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamF64 void paramSave_ParamF64( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1286,13 +1286,13 @@ class QueuedTestTesterBase : //! Send parameter ParamString void paramSend_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamString void paramSave_ParamString( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1304,13 +1304,13 @@ class QueuedTestTesterBase : //! Send parameter ParamEnum void paramSend_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamEnum void paramSave_ParamEnum( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1322,13 +1322,13 @@ class QueuedTestTesterBase : //! Send parameter ParamArray void paramSend_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamArray void paramSave_ParamArray( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); @@ -1340,13 +1340,13 @@ class QueuedTestTesterBase : //! Send parameter ParamStruct void paramSend_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); //! Save parameter ParamStruct void paramSave_ParamStruct( - FwInstanceIdType instance, //!< The component instance + FwEnumStoreType instance, //!< The component instance U32 cmdSeq //!< The command sequence number ); diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp index e6f851d66..e6b3973e8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductPortsOnlyTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveAsyncProductPortsOnlyTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp index 0e3361319..35291552e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveAsyncProductsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveAsyncProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp index d14974f6e..dd0cc27b6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveCommandsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp index 19a6a1ec9..e6ba33bbc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveEventsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveEventsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp index b2bd04210..8138c21d8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGetProductsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveGetProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp index 0c3e57bd0..fd04db28a 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveGuardedProductsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveGuardedProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp index e56c0a8f2..a9fb1c08b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveNoArgsPortsOnlyTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveNoArgsPortsOnlyTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp index 5ed522222..8cb51de35 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveParamsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveParamsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp index dc70ff2a6..2f6ffb9fe 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSerialTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveSerialTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp index 83ccf53de..355eb1ed7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveSyncProductsTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveSyncProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp index f3140b31c..6bc6c6969 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTelemetryTester.ref.hpp @@ -24,7 +24,7 @@ class ActiveTelemetryTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp index 761e4cb67..9196b921b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveTestTester.ref.hpp @@ -26,7 +26,7 @@ namespace M { static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp index 09e282a98..80db07ab8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/EmptyTester.ref.hpp @@ -24,7 +24,7 @@ class EmptyTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp index 95249f9d6..5b6f15832 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveCommandsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveCommandsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp index e0a49a554..ec3868bf4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveEventsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveEventsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp index afbee678b..e824d23a9 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductPortsOnlyTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveGetProductPortsOnlyTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp index 78d25a81b..ce5387538 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGetProductsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveGetProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp index 038611369..0aa71573f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveGuardedProductsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveGuardedProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp index 8e85e6269..189095947 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveParamsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveParamsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp index 55d97aa4d..234076003 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSerialTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveSerialTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp index 4d9aaffe6..d8314c6fd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductPortsOnlyTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveSyncProductPortsOnlyTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp index c87a0f47c..ff7f8a2fa 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveSyncProductsTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveSyncProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp index f904d6a10..89e1cd2ff 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTelemetryTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveTelemetryTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp index c1d502d81..85f8908d6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/PassiveTestTester.ref.hpp @@ -24,7 +24,7 @@ class PassiveTestTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; public: diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp index b125e4280..d6ca74745 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedCommandsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedCommandsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp index 797333ae4..fa6b109cd 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedEventsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedEventsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp index 265698db8..8decea64e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGetProductsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedGetProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp index 8c7380e86..bbc052af6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedGuardedProductsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedGuardedProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp index 46c774edb..1eaae9ec6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedParamsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedParamsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp index d2bc82ec2..5d3c3726c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSerialTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedSerialTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp index 280715456..2a9b826d0 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedSyncProductsTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedSyncProductsTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp index f7ab9b9ba..465b674da 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTelemetryTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedTelemetryTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; diff --git a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp index 5504ae872..e08ae6cf1 100644 --- a/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/test-impl/QueuedTestTester.ref.hpp @@ -24,7 +24,7 @@ class QueuedTestTester : static const FwSizeType MAX_HISTORY_SIZE = 10; // Instance ID supplied to the component instance under test - static const FwInstanceIdType TEST_INSTANCE_ID = 0; + static const FwEnumStoreType TEST_INSTANCE_ID = 0; // Queue depth supplied to the component instance under test static const FwQueueSizeType TEST_INSTANCE_QUEUE_DEPTH = 10; From 2ac403e0b3ffbc751fad914080b8eb14ea6a6d9b Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Thu, 7 Mar 2024 14:51:13 -0800 Subject: [PATCH 08/11] Regenerate unit tests --- compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp | 2 +- compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp index 64317a2f0..3d2b68779 100644 --- a/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/AbsTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputAbsTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp index b639a49b5..72a5251c4 100644 --- a/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/BuiltInTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputBuiltInTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp index ad4405cfb..e10bb951a 100644 --- a/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/EmptyPortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputEmptyPort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp index f05b12db8..67f40f168 100644 --- a/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/FppTypePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputFppTypePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp index 1d4d0ace5..c0e263627 100644 --- a/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/KwdNamePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputKwdNamePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp index 4acec6a6c..07b0f98a8 100644 --- a/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/PrimitivePortAc.ref.cpp @@ -18,7 +18,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputPrimitivePort::SERIALIZED_SIZE; } diff --git a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp index aa87944a1..103d567fc 100644 --- a/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/port/StringPortAc.ref.cpp @@ -180,7 +180,7 @@ namespace { public: - FwSizeType getBuffCapacity() const { + Fw::Serializable::SizeType getBuffCapacity() const { return InputStringPort::SERIALIZED_SIZE; } From 1a5ca122269776484a0e460533e40493137ad95c Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Thu, 7 Mar 2024 15:17:54 -0800 Subject: [PATCH 09/11] Update User's Guide --- docs/fpp-users-guide.html | 10 +++++----- .../Writing-C-Plus-Plus-Implementations.adoc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/fpp-users-guide.html b/docs/fpp-users-guide.html index 1a4ebe7cf..e830482fd 100644 --- a/docs/fpp-users-guide.html +++ b/docs/fpp-users-guide.html @@ -11344,8 +11344,7 @@

14.1. I
-
type FwBuffSizeType
-type FwChanIdType
+
type FwChanIdType
 type FwDpIdType
 type FwDpPriorityType
 type FwEnumStoreType
@@ -11354,11 +11353,12 @@ 

14.1. I type FwOpcodeType type FwPacketDescriptorType type FwPrmIdType +type FwSignedSizeType +type FwSizeStoreType type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType -type FwTlmPacketizeIdType -type POINTER_CAST

+type FwTlmPacketizeIdType
@@ -11729,7 +11729,7 @@

diff --git a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc index ee6366e94..a48325fa6 100644 --- a/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc +++ b/docs/users-guide/Writing-C-Plus-Plus-Implementations.adoc @@ -147,7 +147,6 @@ The following types are abstract in the FPP model but are known to the {cpp} translator: ---- -type FwBuffSizeType type FwChanIdType type FwDpIdType type FwDpPriorityType @@ -157,11 +156,12 @@ type FwIndexType type FwOpcodeType type FwPacketDescriptorType type FwPrmIdType +type FwSignedSizeType +type FwSizeStoreType type FwSizeType type FwTimeBaseStoreType type FwTimeContextStoreType type FwTlmPacketizeIdType -type POINTER_CAST ---- Each of these types is an alias for a {cpp} integer type, and each From 51eb4769f94b7e1fc9d8d78809832866dc68268f Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Thu, 7 Mar 2024 15:27:20 -0800 Subject: [PATCH 10/11] Revise code gen for built-in types --- .../lib/src/main/scala/codegen/CppWriter/CppWriterState.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala index e50829e2e..cfc4f652e 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala @@ -201,7 +201,6 @@ object CppWriterState { * default values */ val zero: Value.Integer = Value.Integer(0) val builtInTypes: Map[String,Value.Integer] = Map( - "FwBuffSizeType" -> zero, "FwChanIdType" -> zero, "FwDpIdType" -> zero, "FwDpPriorityType" -> zero, @@ -211,11 +210,12 @@ object CppWriterState { "FwOpcodeType" -> zero, "FwPacketDescriptorType" -> zero, "FwPrmIdType" -> zero, + "FwSignedSizeType" -> zero, + "FwSizeStoreType" -> zero, "FwSizeType" -> zero, "FwTimeBaseStoreType" -> zero, "FwTimeContextStoreType" -> zero, "FwTlmPacketizeIdType" -> zero, - "POINTER_CAST" -> zero, ) } From 31733f7dc440540c54ca69d674acab8a1bd2b1aa Mon Sep 17 00:00:00 2001 From: "Robert L. Bocchino Jr" Date: Mon, 11 Mar 2024 19:11:20 -0700 Subject: [PATCH 11/11] Revise fpp-to-cpp tests Remove NATIVE_INT_TYPE from handwritten code --- .../tools/fpp-to-cpp/test/top/check-cpp-dir/Basic/Active.hpp | 2 +- compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/C.hpp | 2 +- .../tools/fpp-to-cpp/test/top/check-cpp-dir/Health/Health.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Basic/Active.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Basic/Active.hpp index 25b6116a0..faf5b9332 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Basic/Active.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Basic/Active.hpp @@ -35,7 +35,7 @@ namespace M { } - void p_handler(NATIVE_INT_TYPE portNum) { + void p_handler(FwIndexType portNum) { } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/C.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/C.hpp index f0550f9e9..d23a0aaed 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/C.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/C.hpp @@ -19,7 +19,7 @@ namespace M { } - virtual void pingIn_handler(NATIVE_INT_TYPE portNum) { + virtual void pingIn_handler(FwIndexType portNum) { } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/Health.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/Health.hpp index f7fea1673..7d10874ea 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/Health.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/Health/Health.hpp @@ -25,7 +25,7 @@ namespace Svc { } - virtual void pingIn_handler(NATIVE_INT_TYPE portNum) { + virtual void pingIn_handler(FwIndexType portNum) { }