Skip to content

Commit

Permalink
Merge pull request #271 from tiffany1618/fix-serial-connector
Browse files Browse the repository at this point in the history
Remove redundant serial connector function
  • Loading branch information
bocchino authored Jul 12, 2023
2 parents 9f72933 + 9b1ee14 commit 2090341
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 2090341

Please sign in to comment.