24#if FW_PORT_SERIALIZATION == 1
25 void OutputPortBase::registerSerialPort(
InputPortBase* port) {
28 this->m_serPort = port;
31 SerializeStatus OutputPortBase::invokeSerial(SerializeBufferBase &buffer) {
33 return this->m_serPort->invokeSerial(buffer);
37#if FW_OBJECT_TO_STRING == 1
39#if FW_OBJECT_NAMES == 1
41 if (snprintf(buffer, size,
"OutputPort: %s %s->(%s)", this->m_objName, this->
isConnected() ?
"C" :
"NC",
46 (void)snprintf(buffer,size,
"%s",
"OutputPort");
PlatformIntType NATIVE_INT_TYPE
#define FW_PORT_SERIALIZATION
C++-compatible configuration header for fprime configuration.
virtual ~OutputPortBase()
SerializeStatus
forward declaration for string