Merge remote-tracking branch 'origin/main' into feature/event-throttle-time

This commit is contained in:
Andrei Tumbar 2025-10-14 15:45:12 -07:00
commit c1dbbfb5ca
303 changed files with 8349 additions and 18732 deletions

View File

@ -484,13 +484,19 @@ case class ArrayCppWriter (
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer"),
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),
List.concat(
lines("Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;"),
indexIterator(
line("status = buffer.serializeFrom((*this)[index]);") ::
line("status = buffer.serializeFrom((*this)[index], mode);") ::
wrapInIf("status != Fw::FW_SERIALIZE_OK", lines("return status;")),
),
lines("return status;"),
@ -506,13 +512,19 @@ case class ArrayCppWriter (
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer"),
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),
List.concat(
lines("Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;"),
indexIterator(
line("status = buffer.deserializeTo((*this)[index]);") ::
line("status = buffer.deserializeTo((*this)[index], mode);") ::
wrapInIf("status != Fw::FW_SERIALIZE_OK", lines("return status;")),
),
lines("return status;"),

View File

@ -978,6 +978,12 @@ abstract class ComponentCppWriterUtils(
object ComponentCppWriterUtils {
/** Whether code generation is internal or external to the component */
enum InternalOrExternal {
case Internal
case External
}
/** ( parameter name, parameter type name, parameter type ) **/
type ParamTypeMapInfo = (String, String, Type)
type CmdParamTypeMap = Map[Command.Opcode, List[ParamTypeMapInfo]]

View File

@ -14,167 +14,145 @@ case class ComponentPorts(
private val outputPortWriter = ComponentOutputPorts(s, aNode)
def getConstantMembers: List[CppDoc.Class.Member] = {
List(
getConstants(specialInputPorts),
getConstants(typedInputPorts),
getConstants(serialInputPorts),
getConstants(specialOutputPorts),
getConstants(typedOutputPorts),
getConstants(serialOutputPorts),
).flatten
}
def getConstantMembers: List[CppDoc.Class.Member] = List.concat(
getConstants(specialInputPorts),
getConstants(typedInputPorts),
getConstants(serialInputPorts),
getConstants(specialOutputPorts),
getConstants(typedOutputPorts),
getConstants(serialOutputPorts),
)
def getPublicFunctionMembers: List[CppDoc.Class.Member] = {
List(
inputPortWriter.getGetters(specialInputPorts),
inputPortWriter.getGetters(typedInputPorts),
inputPortWriter.getGetters(serialInputPorts),
outputPortWriter.getTypedConnectors(specialOutputPorts),
outputPortWriter.getTypedConnectors(typedOutputPorts),
outputPortWriter.getSerialConnectors(specialOutputPorts),
outputPortWriter.getSerialConnectors(typedOutputPorts),
outputPortWriter.getSerialConnectors(serialOutputPorts),
).flatten
}
def getPublicFunctionMembers: List[CppDoc.Class.Member] = List.concat(
inputPortWriter.getGetters(specialInputPorts),
inputPortWriter.getGetters(typedInputPorts),
inputPortWriter.getGetters(serialInputPorts),
outputPortWriter.getTypedConnectors(specialOutputPorts),
outputPortWriter.getTypedConnectors(typedOutputPorts),
outputPortWriter.getSerialConnectors(specialOutputPorts),
outputPortWriter.getSerialConnectors(typedOutputPorts),
outputPortWriter.getSerialConnectors(serialOutputPorts),
)
def getProtectedFunctionMembers: List[CppDoc.Class.Member] = {
List(
getNumGetters(specialInputPorts),
getNumGetters(typedInputPorts),
getNumGetters(serialInputPorts),
getNumGetters(specialOutputPorts),
getNumGetters(typedOutputPorts),
getNumGetters(serialOutputPorts),
outputPortWriter.getConnectionStatusQueries(specialOutputPorts),
outputPortWriter.getConnectionStatusQueries(typedOutputPorts),
outputPortWriter.getConnectionStatusQueries(serialOutputPorts),
inputPortWriter.getHandlerBases(dataProductInputPorts),
inputPortWriter.getHandlers(typedInputPorts),
inputPortWriter.getHandlerBases(typedInputPorts),
inputPortWriter.getHandlers(serialInputPorts),
inputPortWriter.getHandlerBases(serialInputPorts),
inputPortWriter.getPreMsgHooks(dataProductAsyncInputPorts),
inputPortWriter.getPreMsgHooks(typedAsyncInputPorts),
inputPortWriter.getPreMsgHooks(serialAsyncInputPorts),
inputPortWriter.getOverflowHooks(dataProductHookPorts),
inputPortWriter.getOverflowHooks(typedHookPorts),
inputPortWriter.getOverflowHooks(serialHookPorts),
outputPortWriter.getInvokers(dataProductOutputPorts),
outputPortWriter.getInvokers(typedOutputPorts),
outputPortWriter.getInvokers(serialOutputPorts),
).flatten
}
def getProtectedFunctionMembers: List[CppDoc.Class.Member] = List.concat(
getNumGetters(specialInputPorts),
getNumGetters(typedInputPorts),
getNumGetters(serialInputPorts),
getNumGetters(specialOutputPorts),
getNumGetters(typedOutputPorts),
getNumGetters(serialOutputPorts),
outputPortWriter.getConnectionStatusQueries(specialOutputPorts),
outputPortWriter.getConnectionStatusQueries(typedOutputPorts),
outputPortWriter.getConnectionStatusQueries(serialOutputPorts),
inputPortWriter.getHandlerBases(dataProductInputPorts),
inputPortWriter.getHandlers(typedInputPorts),
inputPortWriter.getHandlerBases(typedInputPorts),
inputPortWriter.getHandlers(serialInputPorts),
inputPortWriter.getHandlerBases(serialInputPorts),
inputPortWriter.getPreMsgHooks(dataProductAsyncInputPorts),
inputPortWriter.getPreMsgHooks(typedAsyncInputPorts),
inputPortWriter.getPreMsgHooks(serialAsyncInputPorts),
inputPortWriter.getOverflowHooks(dataProductHookPorts),
inputPortWriter.getOverflowHooks(typedHookPorts),
inputPortWriter.getOverflowHooks(serialHookPorts),
outputPortWriter.getInvokers(dataProductOutputPorts),
outputPortWriter.getInvokers(typedOutputPorts),
outputPortWriter.getInvokers(serialOutputPorts),
)
def getPrivateFunctionMembers: List[CppDoc.Class.Member] = {
List(
inputPortWriter.getCallbacks(specialInputPorts),
inputPortWriter.getCallbacks(typedInputPorts),
inputPortWriter.getCallbacks(serialInputPorts)
).flatten
}
def getPrivateFunctionMembers: List[CppDoc.Class.Member] = List.concat(
inputPortWriter.getCallbacks(specialInputPorts),
inputPortWriter.getCallbacks(typedInputPorts),
inputPortWriter.getCallbacks(serialInputPorts)
)
def getVariableMembers: List[CppDoc.Class.Member] = {
List(
getVariables(specialInputPorts),
getVariables(typedInputPorts),
getVariables(serialInputPorts),
getVariables(specialOutputPorts),
getVariables(typedOutputPorts),
getVariables(serialOutputPorts),
).flatten
}
def getVariableMembers: List[CppDoc.Class.Member] = List.concat(
getVariables(specialInputPorts),
getVariables(typedInputPorts),
getVariables(serialInputPorts),
getVariables(specialOutputPorts),
getVariables(typedOutputPorts),
getVariables(serialOutputPorts),
)
private def getConstants(ports: List[PortInstance]): List[CppDoc.Class.Member] = {
if ports.isEmpty then Nil
else List(
lazy val member = {
val kind = getPortListTypeString(ports)
val direction = ports.head.getDirection.get.toString
def enumConstant(p: PortInstance) =
writeEnumConstant(portConstantName(p), p.getArraySize)
linesClassMember(
List(
Line.blank :: lines(
s"//! Enumerations for numbers of ${getPortListTypeString(ports)} ${ports.head.getDirection.get.toString} ports"
),
wrapInEnum(
ports.flatMap(p =>
writeEnumConstant(
portConstantName(p),
p.getArraySize,
)
)
)
).flatten
Line.blank ::
line(s"//! Enumerations for numbers of $kind $direction ports") ::
wrapInEnum(ports.flatMap(enumConstant))
)
)
}
guardedList (!ports.isEmpty) (List(member))
}
def generateNumGetters(
ports: List[PortInstance],
portName: PortInstance => String,
numGetterName: PortInstance => String,
variableName: PortInstance => String
ioe: ComponentCppWriterUtils.InternalOrExternal =
ComponentCppWriterUtils.InternalOrExternal.Internal
) = {
mapPorts(ports, p => List(
functionClassMember(
Some(
s"""|Get the number of ${portName(p)} ports
|
|\\return The number of ${portName(p)} ports
|"""
),
numGetterName(p),
Nil,
CppDoc.Type("FwIndexType"),
lines(
s"return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->${variableName(p)}));"
),
CppDoc.Function.NonSV,
CppDoc.Function.Const
)
))
lazy val constantPrefix = ioe match {
case ComponentCppWriterUtils.InternalOrExternal.Internal => ""
case ComponentCppWriterUtils.InternalOrExternal.External =>
s"$componentClassName::"
}
def generateNumGetter(p: PortInstance) = lines(
s"""|
|//! Get the number of ${portName(p)} ports
|//!
|//! \\return The number of ${portName(p)} ports
|static constexpr FwIndexType ${numGetterName(p)}() {
| return ${constantPrefix}${portConstantName(p)};
|}
|"""
)
mapPorts(
ports,
p => List(linesClassMember(generateNumGetter(p))),
CppDoc.Lines.Hpp
)
}
private def getNumGetters(ports: List[PortInstance]): List[CppDoc.Class.Member] = {
val dirStr = ports match {
case Nil => ""
case _ => ports.head.getDirection.get.toString
}
lazy val direction = ports.headOption.map(_.getDirection.get.toString).getOrElse("")
lazy val kind = getPortListTypeString(ports)
def portName(p: PortInstance) =
s"${p.getUnqualifiedName} ${p.getDirection.get.toString}"
addAccessTagAndComment(
"protected",
s"Getters for numbers of ${getPortListTypeString(ports)} $dirStr ports",
generateNumGetters(
ports,
(p: PortInstance) => s"${p.getUnqualifiedName} ${p.getDirection.get.toString}",
portNumGetterName,
portVariableName
)
s"Getters for numbers of $kind $direction ports",
generateNumGetters(ports, portName, portNumGetterName),
CppDoc.Lines.Hpp
)
}
private def getVariables(ports: List[PortInstance]): List[CppDoc.Class.Member] = {
val dirStr = ports match {
case Nil => ""
case _ => ports.head.getDirection.get.toString
lazy val direction = ports.headOption.map(_.getDirection.get.toString).getOrElse("")
def variable(p: PortInstance) = {
val typeName = getQualifiedPortTypeName(p, p.getDirection.get)
val name = portVariableName(p)
val num = portConstantName(p)
lines(
s"""|
|//! ${p.getDirection.get.toString.capitalize} port ${p.getUnqualifiedName}
|$typeName $name[$num];
|"""
)
}
addAccessTagAndComment(
"private",
s"${getPortListTypeString(ports).capitalize} $dirStr ports",
mapPorts(ports, p => {
val typeName = getQualifiedPortTypeName(p, p.getDirection.get)
val name = portVariableName(p)
val num = portConstantName(p)
List(
linesClassMember(
lines(
s"""|
|//! ${p.getDirection.get.toString.capitalize} port ${p.getUnqualifiedName}
|$typeName $name[$num];
|"""
)
)
)
}, CppDoc.Lines.Hpp),
s"${getPortListTypeString(ports).capitalize} $direction ports",
mapPorts(
ports,
p => List(linesClassMember(variable(p))),
CppDoc.Lines.Hpp
),
CppDoc.Lines.Hpp
)
}

View File

@ -167,7 +167,7 @@ abstract class ComponentTestUtils(
def outputPortName(name: String) =
s"to_$name"
/** Get the corresponding tester port name for a port in the component under test */
/** Get the corresponding tester port name for a port in the component under test */
def testerPortName(p: PortInstance) =
p.getDirection.get match {
case PortInstance.Direction.Input => outputPortName(p.getUnqualifiedName)

View File

@ -505,8 +505,9 @@ case class ComponentTesterBaseWriter(
inputPorts ++ outputPorts,
testerPortName,
testerPortNumGetterName,
testerPortVariableName
)
ComponentCppWriterUtils.InternalOrExternal.External
),
CppDoc.Lines.Hpp
)
}

View File

@ -316,12 +316,19 @@ case class EnumCppWriter(
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer")
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),
lines(
s"""|const Fw::SerializeStatus status = buffer.serializeFrom(
| static_cast<SerialType>(this->e)
| static_cast<SerialType>(this->e),
| mode
|);
|return status;"""
),
@ -336,12 +343,18 @@ case class EnumCppWriter(
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer")
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),
lines(
s"""|SerialType es;
|Fw::SerializeStatus status = buffer.deserializeTo(es);
|Fw::SerializeStatus status = buffer.deserializeTo(es, mode);
|if (status == Fw::FW_SERIALIZE_OK) {
| this->e = static_cast<T>(es);
| if (!this->isValid()) {

View File

@ -466,9 +466,9 @@ case class StructCppWriter(
lines("return status;")
)
def writeSerializeCall(n: String) =
line(s"status = buffer.serializeFrom(this->m_$n);") :: writeSerializeStatusCheck
line(s"status = buffer.serializeFrom(this->m_$n, mode);") :: writeSerializeStatusCheck
def writeDeserializeCall(n: String) =
line(s"status = buffer.deserializeTo(this->m_$n);") :: writeSerializeStatusCheck
line(s"status = buffer.deserializeTo(this->m_$n, mode);") :: writeSerializeStatusCheck
List(
List(
@ -487,6 +487,12 @@ case class StructCppWriter(
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer")
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),
@ -511,6 +517,12 @@ case class StructCppWriter(
CppDoc.Type("Fw::SerializeBufferBase&"),
"buffer",
Some("The serial buffer")
),
CppDoc.Function.Param(
CppDoc.Type("Fw::Endianness"),
"mode",
Some("Endianness of serialized buffer"),
Some("Fw::Endianness::BIG"),
)
),
CppDoc.Type("Fw::SerializeStatus"),

View File

@ -15,4 +15,5 @@ default-tests.sh
default-update-ref.sh
!*/include/*
!*.ref.h
!*.ref.h
fpp-*.json

View File

@ -78,11 +78,14 @@ std::ostream& operator<<(std::ostream& os, const Abs& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Abs ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
status = buffer.serializeFrom(this->m_A);
status = buffer.serializeFrom(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -91,11 +94,14 @@ Fw::SerializeStatus Abs ::
}
Fw::SerializeStatus Abs ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
status = buffer.deserializeTo(this->m_A);
status = buffer.deserializeTo(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -85,12 +85,14 @@ class Abs :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -98,23 +98,26 @@ std::ostream& operator<<(std::ostream& os, const Basic& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Basic ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
status = buffer.serializeFrom(this->m_A);
status = buffer.serializeFrom(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_B);
status = buffer.serializeFrom(this->m_B, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_C);
status = buffer.serializeFrom(this->m_C, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_D);
status = buffer.serializeFrom(this->m_D, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -123,23 +126,26 @@ Fw::SerializeStatus Basic ::
}
Fw::SerializeStatus Basic ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
status = buffer.deserializeTo(this->m_A);
status = buffer.deserializeTo(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_B);
status = buffer.deserializeTo(this->m_B, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_C);
status = buffer.deserializeTo(this->m_C, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_D);
status = buffer.deserializeTo(this->m_D, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -96,12 +96,14 @@ class Basic :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -98,23 +98,26 @@ std::ostream& operator<<(std::ostream& os, const Namespace& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Namespace ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
status = buffer.serializeFrom(this->m_A);
status = buffer.serializeFrom(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_B);
status = buffer.serializeFrom(this->m_B, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_C);
status = buffer.serializeFrom(this->m_C, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_D);
status = buffer.serializeFrom(this->m_D, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -123,23 +126,26 @@ Fw::SerializeStatus Namespace ::
}
Fw::SerializeStatus Namespace ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
status = buffer.deserializeTo(this->m_A);
status = buffer.deserializeTo(this->m_A, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_B);
status = buffer.deserializeTo(this->m_B, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_C);
status = buffer.deserializeTo(this->m_C, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_D);
status = buffer.deserializeTo(this->m_D, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -96,12 +96,14 @@ class Namespace :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -11,6 +11,7 @@ struct T : public Fw::Serializable { // Extend Fw::Serializable
// Define some shorthand for F Prime types
typedef Fw::SerializeStatus SS;
typedef Fw::SerializeBufferBase B;
typedef Fw::Endianness E;
// Define the constant SERIALIZED_SIZE
enum Constants { SERIALIZED_SIZE = sizeof(U32) };
@ -22,10 +23,10 @@ struct T : public Fw::Serializable { // Extend Fw::Serializable
bool operator==(const T& that) const { return this->x == that.x; }
// Define the virtual serializeTo method
SS serializeTo(B& b) const { return b.serializeFrom(x); }
SS serializeTo(B& b, E e) const { return b.serializeFrom(x, e); }
// Define the virtual deserializeFrom method
SS deserializeFrom(B& b) { return b.deserializeTo(x); }
SS deserializeFrom(B& b, E e) { return b.deserializeTo(x, e); }
// Provide some data
U32 x;

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const A& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus A ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus A ::
}
Fw::SerializeStatus A ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -136,12 +136,14 @@ class A :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const AbsType& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus AbsType ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus AbsType ::
}
Fw::SerializeStatus AbsType ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class AbsType :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const AliasType& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus AliasType ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus AliasType ::
}
Fw::SerializeStatus AliasType ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class AliasType :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const C_A& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus C_A ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus C_A ::
}
Fw::SerializeStatus C_A ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -135,12 +135,14 @@ class C_A :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -53,19 +53,26 @@ namespace M {
}
Fw::SerializeStatus E1 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
const Fw::SerializeStatus status = buffer.serializeFrom(
static_cast<SerialType>(this->e)
static_cast<SerialType>(this->e),
mode
);
return status;
}
Fw::SerializeStatus E1 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
SerialType es;
Fw::SerializeStatus status = buffer.deserializeTo(es);
Fw::SerializeStatus status = buffer.deserializeTo(es, mode);
if (status == Fw::FW_SERIALIZE_OK) {
this->e = static_cast<T>(es);
if (!this->isValid()) {

View File

@ -133,12 +133,14 @@ namespace M {
//! Serialize raw enum value to SerialType
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialize raw enum value from SerialType
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
#if FW_SERIALIZABLE_TO_STRING

View File

@ -53,19 +53,26 @@ bool E2 ::
}
Fw::SerializeStatus E2 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
const Fw::SerializeStatus status = buffer.serializeFrom(
static_cast<SerialType>(this->e)
static_cast<SerialType>(this->e),
mode
);
return status;
}
Fw::SerializeStatus E2 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
SerialType es;
Fw::SerializeStatus status = buffer.deserializeTo(es);
Fw::SerializeStatus status = buffer.deserializeTo(es, mode);
if (status == Fw::FW_SERIALIZE_OK) {
this->e = static_cast<T>(es);
if (!this->isValid()) {

View File

@ -132,12 +132,14 @@ class E2 :
//! Serialize raw enum value to SerialType
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialize raw enum value from SerialType
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
#if FW_SERIALIZABLE_TO_STRING

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const Enum1& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Enum1 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus Enum1 ::
}
Fw::SerializeStatus Enum1 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class Enum1 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const Enum2& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Enum2 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus Enum2 ::
}
Fw::SerializeStatus Enum2 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -136,12 +136,14 @@ class Enum2 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const HeaderPath& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus HeaderPath ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus HeaderPath ::
}
Fw::SerializeStatus HeaderPath ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class HeaderPath :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const LargeSize& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus LargeSize ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus LargeSize ::
}
Fw::SerializeStatus LargeSize ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -135,12 +135,14 @@ class LargeSize :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const PrimitiveArray& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveArray ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus PrimitiveArray ::
}
Fw::SerializeStatus PrimitiveArray ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class PrimitiveArray :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveBool ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveBool ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveF32e ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveF32e ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -138,12 +138,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveF32f ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveF32f ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -138,12 +138,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveF64 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveF64 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -138,12 +138,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveI32 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveI32 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -138,12 +138,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveI64 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveI64 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -138,12 +138,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveU16 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveU16 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -143,11 +143,14 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus PrimitiveU8 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -156,11 +159,14 @@ namespace M {
}
Fw::SerializeStatus PrimitiveU8 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -140,55 +140,58 @@ namespace M {
// ----------------------------------------------------------------------
Fw::SerializeStatus S1 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
status = buffer.serializeFrom(this->m_mF32);
status = buffer.serializeFrom(this->m_mF32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mF64);
status = buffer.serializeFrom(this->m_mF64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mI16);
status = buffer.serializeFrom(this->m_mI16, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mI32);
status = buffer.serializeFrom(this->m_mI32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mI64);
status = buffer.serializeFrom(this->m_mI64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mI8);
status = buffer.serializeFrom(this->m_mI8, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mU16);
status = buffer.serializeFrom(this->m_mU16, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mU32);
status = buffer.serializeFrom(this->m_mU32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mU64);
status = buffer.serializeFrom(this->m_mU64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mU8);
status = buffer.serializeFrom(this->m_mU8, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mBool);
status = buffer.serializeFrom(this->m_mBool, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.serializeFrom(this->m_mString);
status = buffer.serializeFrom(this->m_mString, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -197,55 +200,58 @@ namespace M {
}
Fw::SerializeStatus S1 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
status = buffer.deserializeTo(this->m_mF32);
status = buffer.deserializeTo(this->m_mF32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mF64);
status = buffer.deserializeTo(this->m_mF64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mI16);
status = buffer.deserializeTo(this->m_mI16, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mI32);
status = buffer.deserializeTo(this->m_mI32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mI64);
status = buffer.deserializeTo(this->m_mI64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mI8);
status = buffer.deserializeTo(this->m_mI8, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mU16);
status = buffer.deserializeTo(this->m_mU16, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mU32);
status = buffer.deserializeTo(this->m_mU32, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mU64);
status = buffer.deserializeTo(this->m_mU64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mU8);
status = buffer.deserializeTo(this->m_mU8, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mBool);
status = buffer.deserializeTo(this->m_mBool, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
status = buffer.deserializeTo(this->m_mString);
status = buffer.deserializeTo(this->m_mString, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -110,12 +110,14 @@ namespace M {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -78,11 +78,14 @@ std::ostream& operator<<(std::ostream& os, const S2& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus S2 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
status = buffer.serializeFrom(this->m_s1);
status = buffer.serializeFrom(this->m_s1, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -91,11 +94,14 @@ Fw::SerializeStatus S2 ::
}
Fw::SerializeStatus S2 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
status = buffer.deserializeTo(this->m_s1);
status = buffer.deserializeTo(this->m_s1, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -85,12 +85,14 @@ class S2 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -116,17 +116,20 @@ namespace S {
// ----------------------------------------------------------------------
Fw::SerializeStatus S3 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status;
for (FwSizeType i = 0; i < 3; i++) {
status = buffer.serializeFrom(this->m_mU32Array[i]);
status = buffer.serializeFrom(this->m_mU32Array[i], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
}
status = buffer.serializeFrom(this->m_mF64);
status = buffer.serializeFrom(this->m_mF64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -135,17 +138,20 @@ namespace S {
}
Fw::SerializeStatus S3 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status;
for (FwSizeType i = 0; i < 3; i++) {
status = buffer.deserializeTo(this->m_mU32Array[i]);
status = buffer.deserializeTo(this->m_mU32Array[i], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
}
status = buffer.deserializeTo(this->m_mF64);
status = buffer.deserializeTo(this->m_mF64, mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -106,12 +106,14 @@ namespace S {
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the struct

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const SingleElement& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus SingleElement ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus SingleElement ::
}
Fw::SerializeStatus SingleElement ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -136,12 +136,14 @@ class SingleElement :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -148,11 +148,14 @@ std::ostream& operator<<(std::ostream& os, const String1& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus String1 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -161,11 +164,14 @@ Fw::SerializeStatus String1 ::
}
Fw::SerializeStatus String1 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -140,12 +140,14 @@ class String1 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -148,11 +148,14 @@ std::ostream& operator<<(std::ostream& os, const String2& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus String2 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -161,11 +164,14 @@ Fw::SerializeStatus String2 ::
}
Fw::SerializeStatus String2 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -140,12 +140,14 @@ class String2 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const StringArray& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus StringArray ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus StringArray ::
}
Fw::SerializeStatus StringArray ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class StringArray :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const Struct1& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Struct1 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus Struct1 ::
}
Fw::SerializeStatus Struct1 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class Struct1 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const Struct2& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Struct2 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus Struct2 ::
}
Fw::SerializeStatus Struct2 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class Struct2 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const Struct3& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus Struct3 ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus Struct3 ::
}
Fw::SerializeStatus Struct3 ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -137,12 +137,14 @@ class Struct3 :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -11,6 +11,7 @@ struct T : public Fw::Serializable { // Extend Fw::Serializable
// Define some shorthand for F Prime types
typedef Fw::SerializeStatus SS;
typedef Fw::SerializeBufferBase B;
typedef Fw::Endianness E;
// Define the constant SERIALIZED_SIZE
enum Constants { SERIALIZED_SIZE = sizeof(U32) };
@ -22,10 +23,10 @@ struct T : public Fw::Serializable { // Extend Fw::Serializable
bool operator==(const T& that) const { return this->x == that.x; }
// Define the virtual serialize method
SS serializeTo(B& b) const { return b.serializeFrom(x); }
SS serializeTo(B& b, E e) const { return b.serializeFrom(x, e); }
// Define the virtual deserializeFrom method
SS deserializeFrom(B& b) { return b.deserializeTo(x); }
SS deserializeFrom(B& b, E e) { return b.deserializeTo(x, e); }
// Provide some data
U32 x;

View File

@ -141,11 +141,14 @@ std::ostream& operator<<(std::ostream& os, const A& obj) {
// ----------------------------------------------------------------------
Fw::SerializeStatus A ::
serializeTo(Fw::SerializeBufferBase& buffer) const
serializeTo(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
) const
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.serializeFrom((*this)[index]);
status = buffer.serializeFrom((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}
@ -154,11 +157,14 @@ Fw::SerializeStatus A ::
}
Fw::SerializeStatus A ::
deserializeFrom(Fw::SerializeBufferBase& buffer)
deserializeFrom(
Fw::SerializeBufferBase& buffer,
Fw::Endianness mode
)
{
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
for (FwSizeType index = 0; index < SIZE; index++) {
status = buffer.deserializeTo((*this)[index]);
status = buffer.deserializeTo((*this)[index], mode);
if (status != Fw::FW_SERIALIZE_OK) {
return status;
}

View File

@ -136,12 +136,14 @@ class A :
//! Serialization
Fw::SerializeStatus serializeTo(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
) const;
//! Deserialization
Fw::SerializeStatus deserializeFrom(
Fw::SerializeBufferBase& buffer //!< The serial buffer
Fw::SerializeBufferBase& buffer, //!< The serial buffer
Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer
);
//! Get the dynamic serialized size of the array

View File

@ -245,32 +245,6 @@ ActiveAsyncProductPortsOnlyComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductPortsOnlyComponentBase ::
getNum_productRecvIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductPortsOnlyComponentBase ::
getNum_productRequestOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort));
}
FwIndexType ActiveAsyncProductPortsOnlyComponentBase ::
getNum_productSendOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -137,7 +137,9 @@ class ActiveAsyncProductPortsOnlyComponentBase :
//! Get the number of productRecvIn input ports
//!
//! \return The number of productRecvIn input ports
FwIndexType getNum_productRecvIn_InputPorts() const;
static constexpr FwIndexType getNum_productRecvIn_InputPorts() {
return NUM_PRODUCTRECVIN_INPUT_PORTS;
}
protected:
@ -148,12 +150,16 @@ class ActiveAsyncProductPortsOnlyComponentBase :
//! Get the number of productRequestOut output ports
//!
//! \return The number of productRequestOut output ports
FwIndexType getNum_productRequestOut_OutputPorts() const;
static constexpr FwIndexType getNum_productRequestOut_OutputPorts() {
return NUM_PRODUCTREQUESTOUT_OUTPUT_PORTS;
}
//! Get the number of productSendOut output ports
//!
//! \return The number of productSendOut output ports
FwIndexType getNum_productSendOut_OutputPorts() const;
static constexpr FwIndexType getNum_productSendOut_OutputPorts() {
return NUM_PRODUCTSENDOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1873,260 +1873,6 @@ ActiveAsyncProductsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_productRecvIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_productRequestOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_productSendOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveAsyncProductsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -667,12 +667,16 @@ class ActiveAsyncProductsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
//! Get the number of productRecvIn input ports
//!
//! \return The number of productRecvIn input ports
FwIndexType getNum_productRecvIn_InputPorts() const;
static constexpr FwIndexType getNum_productRecvIn_InputPorts() {
return NUM_PRODUCTRECVIN_INPUT_PORTS;
}
protected:
@ -683,97 +687,135 @@ class ActiveAsyncProductsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -784,56 +826,76 @@ class ActiveAsyncProductsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
//! Get the number of productRequestOut output ports
//!
//! \return The number of productRequestOut output ports
FwIndexType getNum_productRequestOut_OutputPorts() const;
static constexpr FwIndexType getNum_productRequestOut_OutputPorts() {
return NUM_PRODUCTREQUESTOUT_OUTPUT_PORTS;
}
//! Get the number of productSendOut output ports
//!
//! \return The number of productSendOut output ports
FwIndexType getNum_productSendOut_OutputPorts() const;
static constexpr FwIndexType getNum_productSendOut_OutputPorts() {
return NUM_PRODUCTSENDOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -844,42 +906,58 @@ class ActiveAsyncProductsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1603,242 +1603,6 @@ ActiveCommandsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveCommandsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveCommandsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveCommandsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveCommandsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveCommandsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveCommandsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -527,7 +527,9 @@ class ActiveCommandsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -538,97 +540,135 @@ class ActiveCommandsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -639,46 +679,62 @@ class ActiveCommandsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -689,42 +745,58 @@ class ActiveCommandsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1525,242 +1525,6 @@ ActiveEventsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveEventsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveEventsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveEventsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveEventsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveEventsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveEventsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -517,7 +517,9 @@ class ActiveEventsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -528,97 +530,135 @@ class ActiveEventsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -629,46 +669,62 @@ class ActiveEventsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -679,42 +735,58 @@ class ActiveEventsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1755,242 +1755,6 @@ ActiveExternalParamsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveExternalParamsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveExternalParamsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveExternalParamsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveExternalParamsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveExternalParamsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveExternalParamsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -546,7 +546,9 @@ class ActiveExternalParamsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -557,97 +559,135 @@ class ActiveExternalParamsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -658,46 +698,62 @@ class ActiveExternalParamsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -708,42 +764,58 @@ class ActiveExternalParamsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1822,254 +1822,6 @@ ActiveGetProductsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveGetProductsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveGetProductsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveGetProductsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_productGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productGetOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_productSendOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveGetProductsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveGetProductsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveGetProductsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -652,7 +652,9 @@ class ActiveGetProductsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -663,97 +665,135 @@ class ActiveGetProductsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -764,56 +804,76 @@ class ActiveGetProductsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
//! Get the number of productGetOut output ports
//!
//! \return The number of productGetOut output ports
FwIndexType getNum_productGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_productGetOut_OutputPorts() {
return NUM_PRODUCTGETOUT_OUTPUT_PORTS;
}
//! Get the number of productSendOut output ports
//!
//! \return The number of productSendOut output ports
FwIndexType getNum_productSendOut_OutputPorts() const;
static constexpr FwIndexType getNum_productSendOut_OutputPorts() {
return NUM_PRODUCTSENDOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -824,42 +884,58 @@ class ActiveGetProductsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1871,260 +1871,6 @@ ActiveGuardedProductsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_productRecvIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_productRequestOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_productSendOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveGuardedProductsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -667,12 +667,16 @@ class ActiveGuardedProductsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
//! Get the number of productRecvIn input ports
//!
//! \return The number of productRecvIn input ports
FwIndexType getNum_productRecvIn_InputPorts() const;
static constexpr FwIndexType getNum_productRecvIn_InputPorts() {
return NUM_PRODUCTRECVIN_INPUT_PORTS;
}
protected:
@ -683,97 +687,135 @@ class ActiveGuardedProductsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -784,56 +826,76 @@ class ActiveGuardedProductsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
//! Get the number of productRequestOut output ports
//!
//! \return The number of productRequestOut output ports
FwIndexType getNum_productRequestOut_OutputPorts() const;
static constexpr FwIndexType getNum_productRequestOut_OutputPorts() {
return NUM_PRODUCTREQUESTOUT_OUTPUT_PORTS;
}
//! Get the number of productSendOut output ports
//!
//! \return The number of productSendOut output ports
FwIndexType getNum_productSendOut_OutputPorts() const;
static constexpr FwIndexType getNum_productSendOut_OutputPorts() {
return NUM_PRODUCTSENDOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -844,42 +906,58 @@ class ActiveGuardedProductsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -330,50 +330,6 @@ ActiveNoArgsPortsOnlyComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveNoArgsPortsOnlyComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for typed output ports
// ----------------------------------------------------------------------

View File

@ -155,22 +155,30 @@ class ActiveNoArgsPortsOnlyComponentBase :
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
protected:
@ -181,12 +189,16 @@ class ActiveNoArgsPortsOnlyComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -778,116 +778,6 @@ ActiveOverflowComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveOverflowComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_productRecvInHook_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvInHook_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveOverflowComponentBase ::
getNum_assertAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_assertAsync_InputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_blockAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_blockAsync_InputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_dropAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_dropAsync_InputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_hookAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_hookAsync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of serial input ports
// ----------------------------------------------------------------------
FwIndexType ActiveOverflowComponentBase ::
getNum_serialAsyncHook_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncHook_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveOverflowComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveOverflowComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveOverflowComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveOverflowComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -320,12 +320,16 @@ class ActiveOverflowComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
//! Get the number of productRecvInHook input ports
//!
//! \return The number of productRecvInHook input ports
FwIndexType getNum_productRecvInHook_InputPorts() const;
static constexpr FwIndexType getNum_productRecvInHook_InputPorts() {
return NUM_PRODUCTRECVINHOOK_INPUT_PORTS;
}
protected:
@ -336,22 +340,30 @@ class ActiveOverflowComponentBase :
//! Get the number of assertAsync input ports
//!
//! \return The number of assertAsync input ports
FwIndexType getNum_assertAsync_InputPorts() const;
static constexpr FwIndexType getNum_assertAsync_InputPorts() {
return NUM_ASSERTASYNC_INPUT_PORTS;
}
//! Get the number of blockAsync input ports
//!
//! \return The number of blockAsync input ports
FwIndexType getNum_blockAsync_InputPorts() const;
static constexpr FwIndexType getNum_blockAsync_InputPorts() {
return NUM_BLOCKASYNC_INPUT_PORTS;
}
//! Get the number of dropAsync input ports
//!
//! \return The number of dropAsync input ports
FwIndexType getNum_dropAsync_InputPorts() const;
static constexpr FwIndexType getNum_dropAsync_InputPorts() {
return NUM_DROPASYNC_INPUT_PORTS;
}
//! Get the number of hookAsync input ports
//!
//! \return The number of hookAsync input ports
FwIndexType getNum_hookAsync_InputPorts() const;
static constexpr FwIndexType getNum_hookAsync_InputPorts() {
return NUM_HOOKASYNC_INPUT_PORTS;
}
protected:
@ -362,7 +374,9 @@ class ActiveOverflowComponentBase :
//! Get the number of serialAsyncHook input ports
//!
//! \return The number of serialAsyncHook input ports
FwIndexType getNum_serialAsyncHook_InputPorts() const;
static constexpr FwIndexType getNum_serialAsyncHook_InputPorts() {
return NUM_SERIALASYNCHOOK_INPUT_PORTS;
}
protected:
@ -373,46 +387,62 @@ class ActiveOverflowComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1759,242 +1759,6 @@ ActiveParamsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveParamsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveParamsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveParamsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveParamsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveParamsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveParamsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -545,7 +545,9 @@ class ActiveParamsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -556,97 +558,135 @@ class ActiveParamsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -657,46 +697,62 @@ class ActiveParamsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -707,42 +763,58 @@ class ActiveParamsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

View File

@ -2340,292 +2340,6 @@ ActiveSerialComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of serial input ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_serialAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsync_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_serialAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncAssert_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_serialAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncBlockPriority_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_serialAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialAsyncDropPriority_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_serialGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialGuarded_InputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_serialSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveSerialComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveSerialComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveSerialComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of serial output ports
// ----------------------------------------------------------------------
FwIndexType ActiveSerialComponentBase ::
getNum_serialOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_serialOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -708,7 +708,9 @@ class ActiveSerialComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
protected:
@ -719,97 +721,135 @@ class ActiveSerialComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -820,32 +860,44 @@ class ActiveSerialComponentBase :
//! Get the number of serialAsync input ports
//!
//! \return The number of serialAsync input ports
FwIndexType getNum_serialAsync_InputPorts() const;
static constexpr FwIndexType getNum_serialAsync_InputPorts() {
return NUM_SERIALASYNC_INPUT_PORTS;
}
//! Get the number of serialAsyncAssert input ports
//!
//! \return The number of serialAsyncAssert input ports
FwIndexType getNum_serialAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_serialAsyncAssert_InputPorts() {
return NUM_SERIALASYNCASSERT_INPUT_PORTS;
}
//! Get the number of serialAsyncBlockPriority input ports
//!
//! \return The number of serialAsyncBlockPriority input ports
FwIndexType getNum_serialAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_serialAsyncBlockPriority_InputPorts() {
return NUM_SERIALASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of serialAsyncDropPriority input ports
//!
//! \return The number of serialAsyncDropPriority input ports
FwIndexType getNum_serialAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_serialAsyncDropPriority_InputPorts() {
return NUM_SERIALASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of serialGuarded input ports
//!
//! \return The number of serialGuarded input ports
FwIndexType getNum_serialGuarded_InputPorts() const;
static constexpr FwIndexType getNum_serialGuarded_InputPorts() {
return NUM_SERIALGUARDED_INPUT_PORTS;
}
//! Get the number of serialSync input ports
//!
//! \return The number of serialSync input ports
FwIndexType getNum_serialSync_InputPorts() const;
static constexpr FwIndexType getNum_serialSync_InputPorts() {
return NUM_SERIALSYNC_INPUT_PORTS;
}
protected:
@ -856,46 +908,62 @@ class ActiveSerialComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -906,42 +974,58 @@ class ActiveSerialComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:
@ -952,7 +1036,9 @@ class ActiveSerialComponentBase :
//! Get the number of serialOut output ports
//!
//! \return The number of serialOut output ports
FwIndexType getNum_serialOut_OutputPorts() const;
static constexpr FwIndexType getNum_serialOut_OutputPorts() {
return NUM_SERIALOUT_OUTPUT_PORTS;
}
protected:

View File

@ -1871,260 +1871,6 @@ ActiveSyncProductsComponentBase ::
}
// ----------------------------------------------------------------------
// Getters for numbers of special input ports
// ----------------------------------------------------------------------
FwIndexType ActiveSyncProductsComponentBase ::
getNum_cmdIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdIn_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_productRecvIn_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRecvIn_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed input ports
// ----------------------------------------------------------------------
FwIndexType ActiveSyncProductsComponentBase ::
getNum_aliasTypedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_aliasTypedAsync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAliasStringReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsAsync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsGuarded_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnGuarded_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasGuarded_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasStringReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasStringReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAsync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAsyncAssert_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncAssert_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAsyncBlockPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncBlockPriority_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAsyncDropPriority_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAsyncDropPriority_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedGuarded_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedReturnGuarded_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnGuarded_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedReturnSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnSync_InputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedSync_InputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedSync_InputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of special output ports
// ----------------------------------------------------------------------
FwIndexType ActiveSyncProductsComponentBase ::
getNum_cmdRegOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdRegOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_cmdResponseOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_cmdResponseOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_eventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_eventOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_prmGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmGetOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_prmSetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_prmSetOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_productRequestOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productRequestOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_productSendOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_productSendOut_OutputPort));
}
#if FW_ENABLE_TEXT_LOGGING == 1
FwIndexType ActiveSyncProductsComponentBase ::
getNum_textEventOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_textEventOut_OutputPort));
}
#endif
FwIndexType ActiveSyncProductsComponentBase ::
getNum_timeGetOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_timeGetOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_tlmOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_tlmOut_OutputPort));
}
// ----------------------------------------------------------------------
// Getters for numbers of typed output ports
// ----------------------------------------------------------------------
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsReturnOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_noArgsStringReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_noArgsStringReturnOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedAliasReturnStringOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedAliasReturnStringOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedOut_OutputPort));
}
FwIndexType ActiveSyncProductsComponentBase ::
getNum_typedReturnOut_OutputPorts() const
{
return static_cast<FwIndexType>(FW_NUM_ARRAY_ELEMENTS(this->m_typedReturnOut_OutputPort));
}
// ----------------------------------------------------------------------
// Connection status queries for special output ports
// ----------------------------------------------------------------------

View File

@ -667,12 +667,16 @@ class ActiveSyncProductsComponentBase :
//! Get the number of cmdIn input ports
//!
//! \return The number of cmdIn input ports
FwIndexType getNum_cmdIn_InputPorts() const;
static constexpr FwIndexType getNum_cmdIn_InputPorts() {
return NUM_CMDIN_INPUT_PORTS;
}
//! Get the number of productRecvIn input ports
//!
//! \return The number of productRecvIn input ports
FwIndexType getNum_productRecvIn_InputPorts() const;
static constexpr FwIndexType getNum_productRecvIn_InputPorts() {
return NUM_PRODUCTRECVIN_INPUT_PORTS;
}
protected:
@ -683,97 +687,135 @@ class ActiveSyncProductsComponentBase :
//! Get the number of aliasTypedAsync input ports
//!
//! \return The number of aliasTypedAsync input ports
FwIndexType getNum_aliasTypedAsync_InputPorts() const;
static constexpr FwIndexType getNum_aliasTypedAsync_InputPorts() {
return NUM_ALIASTYPEDASYNC_INPUT_PORTS;
}
//! Get the number of noArgsAliasStringReturnSync input ports
//!
//! \return The number of noArgsAliasStringReturnSync input ports
FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAliasStringReturnSync_InputPorts() {
return NUM_NOARGSALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsAsync input ports
//!
//! \return The number of noArgsAsync input ports
FwIndexType getNum_noArgsAsync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsAsync_InputPorts() {
return NUM_NOARGSASYNC_INPUT_PORTS;
}
//! Get the number of noArgsGuarded input ports
//!
//! \return The number of noArgsGuarded input ports
FwIndexType getNum_noArgsGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsGuarded_InputPorts() {
return NUM_NOARGSGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnGuarded input ports
//!
//! \return The number of noArgsReturnGuarded input ports
FwIndexType getNum_noArgsReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnGuarded_InputPorts() {
return NUM_NOARGSRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of noArgsReturnSync input ports
//!
//! \return The number of noArgsReturnSync input ports
FwIndexType getNum_noArgsReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnSync_InputPorts() {
return NUM_NOARGSRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsStringReturnSync input ports
//!
//! \return The number of noArgsStringReturnSync input ports
FwIndexType getNum_noArgsStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnSync_InputPorts() {
return NUM_NOARGSSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of noArgsSync input ports
//!
//! \return The number of noArgsSync input ports
FwIndexType getNum_noArgsSync_InputPorts() const;
static constexpr FwIndexType getNum_noArgsSync_InputPorts() {
return NUM_NOARGSSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasGuarded input ports
//!
//! \return The number of typedAliasGuarded input ports
FwIndexType getNum_typedAliasGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasGuarded_InputPorts() {
return NUM_TYPEDALIASGUARDED_INPUT_PORTS;
}
//! Get the number of typedAliasReturnSync input ports
//!
//! \return The number of typedAliasReturnSync input ports
FwIndexType getNum_typedAliasReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnSync_InputPorts() {
return NUM_TYPEDALIASRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAliasStringReturnSync input ports
//!
//! \return The number of typedAliasStringReturnSync input ports
FwIndexType getNum_typedAliasStringReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedAliasStringReturnSync_InputPorts() {
return NUM_TYPEDALIASSTRINGRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedAsync input ports
//!
//! \return The number of typedAsync input ports
FwIndexType getNum_typedAsync_InputPorts() const;
static constexpr FwIndexType getNum_typedAsync_InputPorts() {
return NUM_TYPEDASYNC_INPUT_PORTS;
}
//! Get the number of typedAsyncAssert input ports
//!
//! \return The number of typedAsyncAssert input ports
FwIndexType getNum_typedAsyncAssert_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncAssert_InputPorts() {
return NUM_TYPEDASYNCASSERT_INPUT_PORTS;
}
//! Get the number of typedAsyncBlockPriority input ports
//!
//! \return The number of typedAsyncBlockPriority input ports
FwIndexType getNum_typedAsyncBlockPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncBlockPriority_InputPorts() {
return NUM_TYPEDASYNCBLOCKPRIORITY_INPUT_PORTS;
}
//! Get the number of typedAsyncDropPriority input ports
//!
//! \return The number of typedAsyncDropPriority input ports
FwIndexType getNum_typedAsyncDropPriority_InputPorts() const;
static constexpr FwIndexType getNum_typedAsyncDropPriority_InputPorts() {
return NUM_TYPEDASYNCDROPPRIORITY_INPUT_PORTS;
}
//! Get the number of typedGuarded input ports
//!
//! \return The number of typedGuarded input ports
FwIndexType getNum_typedGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedGuarded_InputPorts() {
return NUM_TYPEDGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnGuarded input ports
//!
//! \return The number of typedReturnGuarded input ports
FwIndexType getNum_typedReturnGuarded_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnGuarded_InputPorts() {
return NUM_TYPEDRETURNGUARDED_INPUT_PORTS;
}
//! Get the number of typedReturnSync input ports
//!
//! \return The number of typedReturnSync input ports
FwIndexType getNum_typedReturnSync_InputPorts() const;
static constexpr FwIndexType getNum_typedReturnSync_InputPorts() {
return NUM_TYPEDRETURNSYNC_INPUT_PORTS;
}
//! Get the number of typedSync input ports
//!
//! \return The number of typedSync input ports
FwIndexType getNum_typedSync_InputPorts() const;
static constexpr FwIndexType getNum_typedSync_InputPorts() {
return NUM_TYPEDSYNC_INPUT_PORTS;
}
protected:
@ -784,56 +826,76 @@ class ActiveSyncProductsComponentBase :
//! Get the number of cmdRegOut output ports
//!
//! \return The number of cmdRegOut output ports
FwIndexType getNum_cmdRegOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts() {
return NUM_CMDREGOUT_OUTPUT_PORTS;
}
//! Get the number of cmdResponseOut output ports
//!
//! \return The number of cmdResponseOut output ports
FwIndexType getNum_cmdResponseOut_OutputPorts() const;
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts() {
return NUM_CMDRESPONSEOUT_OUTPUT_PORTS;
}
//! Get the number of eventOut output ports
//!
//! \return The number of eventOut output ports
FwIndexType getNum_eventOut_OutputPorts() const;
static constexpr FwIndexType getNum_eventOut_OutputPorts() {
return NUM_EVENTOUT_OUTPUT_PORTS;
}
//! Get the number of prmGetOut output ports
//!
//! \return The number of prmGetOut output ports
FwIndexType getNum_prmGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmGetOut_OutputPorts() {
return NUM_PRMGETOUT_OUTPUT_PORTS;
}
//! Get the number of prmSetOut output ports
//!
//! \return The number of prmSetOut output ports
FwIndexType getNum_prmSetOut_OutputPorts() const;
static constexpr FwIndexType getNum_prmSetOut_OutputPorts() {
return NUM_PRMSETOUT_OUTPUT_PORTS;
}
//! Get the number of productRequestOut output ports
//!
//! \return The number of productRequestOut output ports
FwIndexType getNum_productRequestOut_OutputPorts() const;
static constexpr FwIndexType getNum_productRequestOut_OutputPorts() {
return NUM_PRODUCTREQUESTOUT_OUTPUT_PORTS;
}
//! Get the number of productSendOut output ports
//!
//! \return The number of productSendOut output ports
FwIndexType getNum_productSendOut_OutputPorts() const;
static constexpr FwIndexType getNum_productSendOut_OutputPorts() {
return NUM_PRODUCTSENDOUT_OUTPUT_PORTS;
}
#if FW_ENABLE_TEXT_LOGGING == 1
//! Get the number of textEventOut output ports
//!
//! \return The number of textEventOut output ports
FwIndexType getNum_textEventOut_OutputPorts() const;
static constexpr FwIndexType getNum_textEventOut_OutputPorts() {
return NUM_TEXTEVENTOUT_OUTPUT_PORTS;
}
#endif
//! Get the number of timeGetOut output ports
//!
//! \return The number of timeGetOut output ports
FwIndexType getNum_timeGetOut_OutputPorts() const;
static constexpr FwIndexType getNum_timeGetOut_OutputPorts() {
return NUM_TIMEGETOUT_OUTPUT_PORTS;
}
//! Get the number of tlmOut output ports
//!
//! \return The number of tlmOut output ports
FwIndexType getNum_tlmOut_OutputPorts() const;
static constexpr FwIndexType getNum_tlmOut_OutputPorts() {
return NUM_TLMOUT_OUTPUT_PORTS;
}
protected:
@ -844,42 +906,58 @@ class ActiveSyncProductsComponentBase :
//! Get the number of noArgsOut output ports
//!
//! \return The number of noArgsOut output ports
FwIndexType getNum_noArgsOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsOut_OutputPorts() {
return NUM_NOARGSOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsReturnOut output ports
//!
//! \return The number of noArgsReturnOut output ports
FwIndexType getNum_noArgsReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsReturnOut_OutputPorts() {
return NUM_NOARGSRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of noArgsStringReturnOut output ports
//!
//! \return The number of noArgsStringReturnOut output ports
FwIndexType getNum_noArgsStringReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_noArgsStringReturnOut_OutputPorts() {
return NUM_NOARGSSTRINGRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasOut output ports
//!
//! \return The number of typedAliasOut output ports
FwIndexType getNum_typedAliasOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasOut_OutputPorts() {
return NUM_TYPEDALIASOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnOut output ports
//!
//! \return The number of typedAliasReturnOut output ports
FwIndexType getNum_typedAliasReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnOut_OutputPorts() {
return NUM_TYPEDALIASRETURNOUT_OUTPUT_PORTS;
}
//! Get the number of typedAliasReturnStringOut output ports
//!
//! \return The number of typedAliasReturnStringOut output ports
FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedAliasReturnStringOut_OutputPorts() {
return NUM_TYPEDALIASRETURNSTRINGOUT_OUTPUT_PORTS;
}
//! Get the number of typedOut output ports
//!
//! \return The number of typedOut output ports
FwIndexType getNum_typedOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedOut_OutputPorts() {
return NUM_TYPEDOUT_OUTPUT_PORTS;
}
//! Get the number of typedReturnOut output ports
//!
//! \return The number of typedReturnOut output ports
FwIndexType getNum_typedReturnOut_OutputPorts() const;
static constexpr FwIndexType getNum_typedReturnOut_OutputPorts() {
return NUM_TYPEDRETURNOUT_OUTPUT_PORTS;
}
protected:

Some files were not shown because too many files have changed in this diff Show More