30 GenericHubComponentBase::init(instance);
35 void GenericHubComponentImpl ::send_data(
const HubType type,
45 status = serialize.
serialize(
static_cast<U32
>(type));
47 status = serialize.
serialize(
static_cast<U32
>(port));
52 dataOut_out(0, outgoing);
62 bufferDeallocate_out(0, fwBuffer);
65 void GenericHubComponentImpl ::dataIn_handler(
const NATIVE_INT_TYPE portNum,
82 type =
static_cast<HubType>(type_in);
92 FW_ASSERT(rawSize ==
static_cast<U32
>(size));
96 status = wrapper.setBuffLen(rawSize);
98 portOut_out(port, wrapper);
99 dataInDeallocate_out(0, fwBuffer);
102 buffersOut_out(port, fwBuffer);