Skip to content

Commit

Permalink
Remove redundant serial connector function
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffany1618 committed Jun 29, 2023
1 parent 22dc420 commit 79cbb8a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ case class ComponentPorts(
inputPortWriter.getGetters(serialInputPorts),
outputPortWriter.getTypedConnectors(specialOutputPorts),
outputPortWriter.getTypedConnectors(typedOutputPorts),
outputPortWriter.getTypedConnectors(serialOutputPorts),
outputPortWriter.getSerialConnectors(specialOutputPorts),
outputPortWriter.getSerialConnectors(typedOutputPorts),
outputPortWriter.getSerialConnectors(serialOutputPorts),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1282,24 +1282,6 @@ void ActiveSerialComponentBase ::
this->m_typedReturnOut_OutputPort[portNum].addCallPort(port);
}

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

void ActiveSerialComponentBase ::
set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum,
Fw::InputSerializePort* port
)
{
FW_ASSERT(
portNum < this->getNum_serialOut_OutputPorts(),
static_cast<FwAssertArgType>(portNum)
);

this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
}

#if FW_PORT_SERIALIZATION

// ----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,18 +441,6 @@ class ActiveSerialComponentBase :
InputTypedReturnPort* port //!< The input port
);

public:

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

//! Connect port to serialOut[portNum]
void set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum, //!< The port number
Fw::InputSerializePort* port //!< The input port
);

#if FW_PORT_SERIALIZATION

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,24 +876,6 @@ void PassiveSerialComponentBase ::
this->m_typedReturnOut_OutputPort[portNum].addCallPort(port);
}

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

void PassiveSerialComponentBase ::
set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum,
Fw::InputSerializePort* port
)
{
FW_ASSERT(
portNum < this->getNum_serialOut_OutputPorts(),
static_cast<FwAssertArgType>(portNum)
);

this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
}

#if FW_PORT_SERIALIZATION

// ----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,18 +361,6 @@ class PassiveSerialComponentBase :
InputTypedReturnPort* port //!< The input port
);

public:

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

//! Connect port to serialOut[portNum]
void set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum, //!< The port number
Fw::InputSerializePort* port //!< The input port
);

#if FW_PORT_SERIALIZATION

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1282,24 +1282,6 @@ void QueuedSerialComponentBase ::
this->m_typedReturnOut_OutputPort[portNum].addCallPort(port);
}

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

void QueuedSerialComponentBase ::
set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum,
Fw::InputSerializePort* port
)
{
FW_ASSERT(
portNum < this->getNum_serialOut_OutputPorts(),
static_cast<FwAssertArgType>(portNum)
);

this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
}

#if FW_PORT_SERIALIZATION

// ----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,18 +441,6 @@ class QueuedSerialComponentBase :
InputTypedReturnPort* port //!< The input port
);

public:

// ----------------------------------------------------------------------
// Connect serial input ports to serial output ports
// ----------------------------------------------------------------------

//! Connect port to serialOut[portNum]
void set_serialOut_OutputPort(
NATIVE_INT_TYPE portNum, //!< The port number
Fw::InputSerializePort* port //!< The input port
);

#if FW_PORT_SERIALIZATION

public:
Expand Down

0 comments on commit 79cbb8a

Please sign in to comment.