9 #if FW_ENABLE_TEXT_LOGGING 26 #if !FW_DIRECT_PORT_CALLS 33 this->m_bufferIn_InputPort[port].
init();
38 this->m_bufferIn_InputPort[port].
setPortNum(port);
40 #if FW_OBJECT_NAMES == 1 44 this->m_objName.toChar(),
47 this->m_bufferIn_InputPort[port].setObjName(portName.
toChar());
52 #if !FW_DIRECT_PORT_CALLS 59 this->m_bufferOutReturn_InputPort[port].
init();
60 this->m_bufferOutReturn_InputPort[port].
addCallComp(
62 m_p_bufferOutReturn_in
64 this->m_bufferOutReturn_InputPort[port].
setPortNum(port);
66 #if FW_OBJECT_NAMES == 1 70 this->m_objName.toChar(),
73 this->m_bufferOutReturn_InputPort[port].setObjName(portName.
toChar());
78 #if !FW_DIRECT_PORT_CALLS 85 this->m_cmdDispIn_InputPort[port].
init();
90 this->m_cmdDispIn_InputPort[port].
setPortNum(port);
92 #if FW_OBJECT_NAMES == 1 96 this->m_objName.toChar(),
99 this->m_cmdDispIn_InputPort[port].setObjName(portName.
toChar());
104 #if !FW_DIRECT_PORT_CALLS 111 this->m_cmdRespIn_InputPort[port].
init();
116 this->m_cmdRespIn_InputPort[port].
setPortNum(port);
118 #if FW_OBJECT_NAMES == 1 122 this->m_objName.toChar(),
125 this->m_cmdRespIn_InputPort[port].setObjName(portName.
toChar());
130 #if !FW_DIRECT_PORT_CALLS 137 this->m_eventIn_InputPort[port].
init();
142 this->m_eventIn_InputPort[port].
setPortNum(port);
144 #if FW_OBJECT_NAMES == 1 148 this->m_objName.toChar(),
151 this->m_eventIn_InputPort[port].setObjName(portName.
toChar());
156 #if !FW_DIRECT_PORT_CALLS 163 this->m_fromBufferDriver_InputPort[port].
init();
164 this->m_fromBufferDriver_InputPort[port].
addCallComp(
166 m_p_fromBufferDriver_in
168 this->m_fromBufferDriver_InputPort[port].
setPortNum(port);
170 #if FW_OBJECT_NAMES == 1 174 this->m_objName.toChar(),
177 this->m_fromBufferDriver_InputPort[port].setObjName(portName.
toChar());
182 #if !FW_DIRECT_PORT_CALLS 189 this->m_tlmIn_InputPort[port].
init();
194 this->m_tlmIn_InputPort[port].
setPortNum(port);
196 #if FW_OBJECT_NAMES == 1 200 this->m_objName.toChar(),
203 this->m_tlmIn_InputPort[port].setObjName(portName.
toChar());
208 #if !FW_DIRECT_PORT_CALLS 215 this->m_toBufferDriverReturn_InputPort[port].
init();
216 this->m_toBufferDriverReturn_InputPort[port].
addCallComp(
218 m_p_toBufferDriverReturn_in
220 this->m_toBufferDriverReturn_InputPort[port].
setPortNum(port);
222 #if FW_OBJECT_NAMES == 1 226 this->m_objName.toChar(),
229 this->m_toBufferDriverReturn_InputPort[port].setObjName(portName.
toChar());
234 #if !FW_DIRECT_PORT_CALLS 241 this->m_serialIn_InputPort[port].init();
242 this->m_serialIn_InputPort[port].addCallComp(
246 this->m_serialIn_InputPort[port].setPortNum(port);
248 #if FW_OBJECT_NAMES == 1 252 this->m_objName.toChar(),
255 this->m_serialIn_InputPort[port].setObjName(portName.
toChar());
260 #if !FW_DIRECT_PORT_CALLS 267 this->m_allocate_OutputPort[port].
init();
269 #if FW_OBJECT_NAMES == 1 273 this->m_objName.toChar(),
276 this->m_allocate_OutputPort[port].setObjName(portName.
toChar());
281 #if !FW_DIRECT_PORT_CALLS 288 this->m_bufferInReturn_OutputPort[port].
init();
290 #if FW_OBJECT_NAMES == 1 294 this->m_objName.toChar(),
297 this->m_bufferInReturn_OutputPort[port].setObjName(portName.
toChar());
302 #if !FW_DIRECT_PORT_CALLS 309 this->m_bufferOut_OutputPort[port].
init();
311 #if FW_OBJECT_NAMES == 1 315 this->m_objName.toChar(),
318 this->m_bufferOut_OutputPort[port].setObjName(portName.
toChar());
323 #if !FW_DIRECT_PORT_CALLS 330 this->m_cmdDispOut_OutputPort[port].
init();
332 #if FW_OBJECT_NAMES == 1 336 this->m_objName.toChar(),
339 this->m_cmdDispOut_OutputPort[port].setObjName(portName.
toChar());
344 #if !FW_DIRECT_PORT_CALLS 351 this->m_cmdRespOut_OutputPort[port].
init();
353 #if FW_OBJECT_NAMES == 1 357 this->m_objName.toChar(),
360 this->m_cmdRespOut_OutputPort[port].setObjName(portName.
toChar());
365 #if !FW_DIRECT_PORT_CALLS 372 this->m_deallocate_OutputPort[port].
init();
374 #if FW_OBJECT_NAMES == 1 378 this->m_objName.toChar(),
381 this->m_deallocate_OutputPort[port].setObjName(portName.
toChar());
386 #if !FW_DIRECT_PORT_CALLS 393 this->m_eventOut_OutputPort[port].
init();
395 #if FW_OBJECT_NAMES == 1 399 this->m_objName.toChar(),
402 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
407 #if !FW_DIRECT_PORT_CALLS 414 this->m_fromBufferDriverReturn_OutputPort[port].
init();
416 #if FW_OBJECT_NAMES == 1 420 this->m_objName.toChar(),
423 this->m_fromBufferDriverReturn_OutputPort[port].setObjName(portName.
toChar());
428 #if !FW_DIRECT_PORT_CALLS 435 this->m_tlmOut_OutputPort[port].
init();
437 #if FW_OBJECT_NAMES == 1 441 this->m_objName.toChar(),
444 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
449 #if !FW_DIRECT_PORT_CALLS 456 this->m_toBufferDriver_OutputPort[port].
init();
458 #if FW_OBJECT_NAMES == 1 462 this->m_objName.toChar(),
465 this->m_toBufferDriver_OutputPort[port].setObjName(portName.
toChar());
470 #if !FW_DIRECT_PORT_CALLS 477 this->m_serialOut_OutputPort[port].init();
479 #if FW_OBJECT_NAMES == 1 483 this->m_objName.toChar(),
486 this->m_serialOut_OutputPort[port].setObjName(portName.
toChar());
492 #if !FW_DIRECT_PORT_CALLS 503 static_cast<FwAssertArgType>(portNum)
506 return &this->m_bufferIn_InputPort[portNum];
514 static_cast<FwAssertArgType>(portNum)
517 return &this->m_bufferOutReturn_InputPort[portNum];
525 static_cast<FwAssertArgType>(portNum)
528 return &this->m_cmdDispIn_InputPort[portNum];
536 static_cast<FwAssertArgType>(portNum)
539 return &this->m_cmdRespIn_InputPort[portNum];
547 static_cast<FwAssertArgType>(portNum)
550 return &this->m_eventIn_InputPort[portNum];
558 static_cast<FwAssertArgType>(portNum)
561 return &this->m_fromBufferDriver_InputPort[portNum];
569 static_cast<FwAssertArgType>(portNum)
572 return &this->m_tlmIn_InputPort[portNum];
580 static_cast<FwAssertArgType>(portNum)
583 return &this->m_toBufferDriverReturn_InputPort[portNum];
588 #if !FW_DIRECT_PORT_CALLS 599 static_cast<FwAssertArgType>(portNum)
602 return &this->m_serialIn_InputPort[portNum];
607 #if !FW_DIRECT_PORT_CALLS 621 static_cast<FwAssertArgType>(portNum)
624 this->m_allocate_OutputPort[portNum].
addCallPort(port);
635 static_cast<FwAssertArgType>(portNum)
638 this->m_bufferInReturn_OutputPort[portNum].
addCallPort(port);
649 static_cast<FwAssertArgType>(portNum)
652 this->m_bufferOut_OutputPort[portNum].
addCallPort(port);
663 static_cast<FwAssertArgType>(portNum)
666 this->m_cmdDispOut_OutputPort[portNum].
addCallPort(port);
677 static_cast<FwAssertArgType>(portNum)
680 this->m_cmdRespOut_OutputPort[portNum].
addCallPort(port);
691 static_cast<FwAssertArgType>(portNum)
694 this->m_deallocate_OutputPort[portNum].
addCallPort(port);
705 static_cast<FwAssertArgType>(portNum)
708 this->m_eventOut_OutputPort[portNum].
addCallPort(port);
719 static_cast<FwAssertArgType>(portNum)
722 this->m_fromBufferDriverReturn_OutputPort[portNum].
addCallPort(port);
733 static_cast<FwAssertArgType>(portNum)
736 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
747 static_cast<FwAssertArgType>(portNum)
750 this->m_toBufferDriver_OutputPort[portNum].
addCallPort(port);
755 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 764 Fw::InputSerializePort* port
769 static_cast<FwAssertArgType>(portNum)
772 this->m_bufferInReturn_OutputPort[portNum].registerSerialPort(port);
778 Fw::InputSerializePort* port
783 static_cast<FwAssertArgType>(portNum)
786 this->m_bufferOut_OutputPort[portNum].registerSerialPort(port);
792 Fw::InputSerializePort* port
797 static_cast<FwAssertArgType>(portNum)
800 this->m_cmdDispOut_OutputPort[portNum].registerSerialPort(port);
806 Fw::InputSerializePort* port
811 static_cast<FwAssertArgType>(portNum)
814 this->m_cmdRespOut_OutputPort[portNum].registerSerialPort(port);
820 Fw::InputSerializePort* port
825 static_cast<FwAssertArgType>(portNum)
828 this->m_deallocate_OutputPort[portNum].registerSerialPort(port);
834 Fw::InputSerializePort* port
839 static_cast<FwAssertArgType>(portNum)
842 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
848 Fw::InputSerializePort* port
853 static_cast<FwAssertArgType>(portNum)
856 this->m_fromBufferDriverReturn_OutputPort[portNum].registerSerialPort(port);
862 Fw::InputSerializePort* port
867 static_cast<FwAssertArgType>(portNum)
870 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
876 Fw::InputSerializePort* port
881 static_cast<FwAssertArgType>(portNum)
884 this->m_toBufferDriver_OutputPort[portNum].registerSerialPort(port);
889 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 895 void GenericHubComponentBase ::
896 set_serialOut_OutputPort(
903 static_cast<FwAssertArgType>(portNum)
906 this->m_serialOut_OutputPort[portNum].registerSerialPort(port);
917 Fw::PassiveComponentBase(compName)
928 #if !FW_DIRECT_PORT_CALLS 939 static_cast<FwAssertArgType>(portNum)
942 return this->m_allocate_OutputPort[portNum].
isConnected();
950 static_cast<FwAssertArgType>(portNum)
953 return this->m_bufferInReturn_OutputPort[portNum].
isConnected();
961 static_cast<FwAssertArgType>(portNum)
964 return this->m_bufferOut_OutputPort[portNum].
isConnected();
972 static_cast<FwAssertArgType>(portNum)
975 return this->m_cmdDispOut_OutputPort[portNum].
isConnected();
983 static_cast<FwAssertArgType>(portNum)
986 return this->m_cmdRespOut_OutputPort[portNum].
isConnected();
994 static_cast<FwAssertArgType>(portNum)
997 return this->m_deallocate_OutputPort[portNum].
isConnected();
1005 static_cast<FwAssertArgType>(portNum)
1008 return this->m_eventOut_OutputPort[portNum].
isConnected();
1016 static_cast<FwAssertArgType>(portNum)
1019 return this->m_fromBufferDriverReturn_OutputPort[portNum].
isConnected();
1027 static_cast<FwAssertArgType>(portNum)
1030 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1038 static_cast<FwAssertArgType>(portNum)
1041 return this->m_toBufferDriver_OutputPort[portNum].
isConnected();
1046 #if !FW_DIRECT_PORT_CALLS 1057 static_cast<FwAssertArgType>(portNum)
1060 return this->m_serialOut_OutputPort[portNum].isConnected();
1080 static_cast<FwAssertArgType>(portNum)
1099 static_cast<FwAssertArgType>(portNum)
1119 static_cast<FwAssertArgType>(portNum)
1141 static_cast<FwAssertArgType>(portNum)
1165 static_cast<FwAssertArgType>(portNum)
1187 static_cast<FwAssertArgType>(portNum)
1208 static_cast<FwAssertArgType>(portNum)
1229 static_cast<FwAssertArgType>(portNum)
1254 static_cast<FwAssertArgType>(portNum)
1264 #if !FW_DIRECT_PORT_CALLS 1278 static_cast<FwAssertArgType>(portNum)
1282 this->m_allocate_OutputPort[portNum].isConnected(),
1283 static_cast<FwAssertArgType>(portNum)
1285 return this->m_allocate_OutputPort[portNum].
invoke(
1298 static_cast<FwAssertArgType>(portNum)
1302 this->m_bufferInReturn_OutputPort[portNum].isConnected(),
1303 static_cast<FwAssertArgType>(portNum)
1305 this->m_bufferInReturn_OutputPort[portNum].
invoke(
1318 static_cast<FwAssertArgType>(portNum)
1322 this->m_bufferOut_OutputPort[portNum].isConnected(),
1323 static_cast<FwAssertArgType>(portNum)
1325 this->m_bufferOut_OutputPort[portNum].
invoke(
1339 static_cast<FwAssertArgType>(portNum)
1343 this->m_cmdDispOut_OutputPort[portNum].isConnected(),
1344 static_cast<FwAssertArgType>(portNum)
1346 this->m_cmdDispOut_OutputPort[portNum].
invoke(
1362 static_cast<FwAssertArgType>(portNum)
1366 this->m_cmdRespOut_OutputPort[portNum].isConnected(),
1367 static_cast<FwAssertArgType>(portNum)
1369 this->m_cmdRespOut_OutputPort[portNum].
invoke(
1384 static_cast<FwAssertArgType>(portNum)
1388 this->m_deallocate_OutputPort[portNum].isConnected(),
1389 static_cast<FwAssertArgType>(portNum)
1391 this->m_deallocate_OutputPort[portNum].
invoke(
1407 static_cast<FwAssertArgType>(portNum)
1411 this->m_eventOut_OutputPort[portNum].isConnected(),
1412 static_cast<FwAssertArgType>(portNum)
1414 this->m_eventOut_OutputPort[portNum].
invoke(
1430 static_cast<FwAssertArgType>(portNum)
1434 this->m_fromBufferDriverReturn_OutputPort[portNum].isConnected(),
1435 static_cast<FwAssertArgType>(portNum)
1437 this->m_fromBufferDriverReturn_OutputPort[portNum].
invoke(
1452 static_cast<FwAssertArgType>(portNum)
1456 this->m_tlmOut_OutputPort[portNum].isConnected(),
1457 static_cast<FwAssertArgType>(portNum)
1459 this->m_tlmOut_OutputPort[portNum].
invoke(
1474 static_cast<FwAssertArgType>(portNum)
1478 this->m_toBufferDriver_OutputPort[portNum].isConnected(),
1479 static_cast<FwAssertArgType>(portNum)
1481 this->m_toBufferDriver_OutputPort[portNum].
invoke(
1488 #if !FW_DIRECT_PORT_CALLS 1502 static_cast<FwAssertArgType>(portNum)
1506 this->m_serialOut_OutputPort[portNum].isConnected(),
1507 static_cast<FwAssertArgType>(portNum)
1509 return this->m_serialOut_OutputPort[portNum].invokeSerial(
1520 void GenericHubComponentBase ::
1535 void GenericHubComponentBase ::
1536 m_p_bufferOutReturn_in(
1544 compPtr->bufferOutReturn_handlerBase(
1550 void GenericHubComponentBase ::
1560 compPtr->cmdDispIn_handlerBase(
1567 void GenericHubComponentBase ::
1578 compPtr->cmdRespIn_handlerBase(
1586 void GenericHubComponentBase ::
1598 compPtr->eventIn_handlerBase(
1607 void GenericHubComponentBase ::
1608 m_p_fromBufferDriver_in(
1616 compPtr->fromBufferDriver_handlerBase(
1622 void GenericHubComponentBase ::
1633 compPtr->tlmIn_handlerBase(
1641 void GenericHubComponentBase ::
1642 m_p_toBufferDriverReturn_in(
1650 compPtr->toBufferDriverReturn_handlerBase(
1660 #if FW_PORT_SERIALIZATION 1662 void GenericHubComponentBase ::
1671 compPtr->serialIn_handlerBase(
static constexpr FwIndexType getNum_allocate_OutputPorts()
void invoke(Fw::ComBuffer &data, U32 context) const
Invoke a port connection.
void init()
Initialization function.
void set_bufferOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferOut[portNum].
static constexpr FwIndexType getNum_cmdDispIn_InputPorts()
virtual ~GenericHubComponentBase()
Destroy GenericHubComponentBase object.
virtual void fromBufferDriver_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port fromBufferDriver.
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
bool isConnected_cmdDispOut_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
void fromBufferDriver_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port fromBufferDriver.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port allocate.
void set_cmdDispOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdDispOut[portNum].
virtual void toBufferDriverReturn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port toBufferDriverReturn.
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
static constexpr FwIndexType getNum_tlmIn_InputPorts()
static constexpr FwIndexType getNum_cmdDispOut_OutputPorts()
static constexpr FwIndexType getNum_serialIn_InputPorts()
static constexpr FwIndexType getNum_eventOut_OutputPorts()
bool isConnected_allocate_OutputPort(FwIndexType portNum) const
void set_bufferInReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferInReturn[portNum].
static constexpr FwIndexType getNum_fromBufferDriver_InputPorts()
bool isConnected_bufferOut_OutputPort(FwIndexType portNum) const
void cmdRespIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdRespIn.
static constexpr FwIndexType getNum_serialOut_OutputPorts()
virtual void cmdRespIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdRespIn.
static constexpr FwIndexType getNum_bufferInReturn_OutputPorts()
void init()
Initialization function.
Enum representing a command response.
Fw::InputBufferSendPort * get_bufferOutReturn_InputPort(FwIndexType portNum)
void eventIn_handlerBase(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Handler base-class function for input port eventIn.
void tlmIn_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port tlmIn.
bool isConnected_deallocate_OutputPort(FwIndexType portNum) const
void addCallPort(InputTlmPort *callPort)
Register an input port.
static constexpr FwIndexType getNum_bufferOut_OutputPorts()
void init()
Object initializer.
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
static constexpr FwIndexType getNum_cmdRespIn_InputPorts()
Auto-generated base for GenericHub component.
SerializeStatus
forward declaration for string
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
void set_toBufferDriver_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to toBufferDriver[portNum].
FwIdType FwEventIdType
The type of an event identifier.
void cmdDispIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port cmdDispIn.
Fw::InputCmdResponsePort * get_cmdRespIn_InputPort(FwIndexType portNum)
Fw::InputSerializePort * get_serialIn_InputPort(FwIndexType portNum)
void bufferOutReturn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferOutReturn.
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port connection.
static constexpr FwIndexType getNum_cmdRespOut_OutputPorts()
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port deallocate.
void set_fromBufferDriverReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to fromBufferDriverReturn[portNum].
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
static constexpr FwIndexType getNum_eventIn_InputPorts()
bool isConnected_cmdRespOut_OutputPort(FwIndexType portNum) const
void bufferOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferOut.
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void set_cmdRespOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdRespOut[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
virtual void eventIn_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)=0
Handler for input port eventIn.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void bufferInReturn_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferInReturn.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
const char * toChar() const
Convert to a C-style char*.
Enum representing event severity.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
void cmdRespOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port cmdRespOut.
static constexpr FwIndexType getNum_bufferIn_InputPorts()
void eventOut_out(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke output port eventOut.
Fw::SerializeStatus serialOut_out(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Invoke output port serialOut.
Fw::Buffer invoke(FwSizeType size) const
void init()
Initialization function.
static constexpr FwIndexType getNum_fromBufferDriverReturn_OutputPorts()
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
bool isConnected_serialOut_OutputPort(FwIndexType portNum) const
Fw::InputLogPort * get_eventIn_InputPort(FwIndexType portNum)
virtual void cmdDispIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port cmdDispIn.
void tlmOut_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke output port tlmOut.
PlatformIndexType FwIndexType
void bufferIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferIn.
void toBufferDriverReturn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port toBufferDriverReturn.
Fw::InputComPort * get_cmdDispIn_InputPort(FwIndexType portNum)
void addCallPort(InputLogPort *callPort)
Register an input port.
void init()
Initialization function.
bool isConnected_eventOut_OutputPort(FwIndexType portNum) const
void init()
Initialization function.
RateGroupDivider component implementation.
bool isConnected_fromBufferDriverReturn_OutputPort(FwIndexType portNum) const
Fw::InputBufferSendPort * get_bufferIn_InputPort(FwIndexType portNum)
Fw::InputBufferSendPort * get_fromBufferDriver_InputPort(FwIndexType portNum)
virtual void tlmIn_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port tlmIn.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
void addCallPort(InputComPort *callPort)
Register an input port.
Fw::InputTlmPort * get_tlmIn_InputPort(FwIndexType portNum)
GenericHubComponentBase(const char *compName="")
Construct GenericHubComponentBase object.
void toBufferDriver_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port toBufferDriver.
static constexpr FwIndexType getNum_toBufferDriverReturn_InputPorts()
Fw::InputBufferSendPort * get_toBufferDriverReturn_InputPort(FwIndexType portNum)
bool isConnected_toBufferDriver_OutputPort(FwIndexType portNum) const
Implementation of malloc based allocator.
static constexpr FwIndexType getNum_deallocate_OutputPorts()
static constexpr FwIndexType getNum_bufferOutReturn_InputPorts()
virtual void bufferIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferIn.
virtual void bufferOutReturn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferOutReturn.
void cmdDispOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdDispOut.
static constexpr FwIndexType getNum_toBufferDriver_OutputPorts()
virtual void serialIn_handler(FwIndexType portNum, Fw::LinearBufferBase &buffer)=0
Handler for input port serialIn.
bool isConnected_bufferInReturn_OutputPort(FwIndexType portNum) const
void serialIn_handlerBase(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Handler base-class function for input port serialIn.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void fromBufferDriverReturn_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port fromBufferDriverReturn.