31 GenericHubComponentBase::init(instance);
36 void GenericHubComponentImpl ::send_data(
const HubType type,
46 status = serialize.
serialize(
static_cast<U32
>(type));
48 status = serialize.
serialize(
static_cast<U32
>(port));
53 dataOut_out(0, outgoing);
63 bufferDeallocate_out(0, fwBuffer);
66 void GenericHubComponentImpl ::dataIn_handler(
const NATIVE_INT_TYPE portNum,
83 type =
static_cast<HubType>(type_in);
93 FW_ASSERT(rawSize ==
static_cast<U32
>(size));
97 status = wrapper.setBuffLen(rawSize);
99 portOut_out(port, wrapper);
100 dataInDeallocate_out(0, fwBuffer);
103 buffersOut_out(port, fwBuffer);