Class jac::RouterOutputPacketCommunicator
ClassList > jac > RouterOutputPacketCommunicator
Inherits the following classes: jac::OutputPacketCommunicator
Public Functions
Type | Name |
---|---|
RouterOutputPacketCommunicator (Router & router, uint8_t channel) |
|
virtual std::unique_ptr< Packet > | buildPacket (std::vector< int > links) override Build a packet for the given data links. |
virtual size_t | maxPacketSize (std::vector< int > links) override const Get the maximum packet size for the given data links. |
Public Functions inherited from jac::OutputPacketCommunicator
See jac::OutputPacketCommunicator
Type | Name |
---|---|
OutputPacketCommunicator () = default |
|
OutputPacketCommunicator (const OutputPacketCommunicator &) = delete |
|
virtual std::unique_ptr< Packet > | buildPacket (std::vector< int > links) = 0 Build a packet for the given data links. |
virtual size_t | maxPacketSize (std::vector< int > links) const = 0 Get the maximum packet size for the given data links. |
OutputPacketCommunicator & | operator= (const OutputPacketCommunicator &) = delete |
virtual | ~OutputPacketCommunicator () = default |
Public Functions Documentation
function RouterOutputPacketCommunicator
inline jac::RouterOutputPacketCommunicator::RouterOutputPacketCommunicator (
Router & router,
uint8_t channel
)
function buildPacket
Build a packet for the given data links.
inline virtual std::unique_ptr< Packet > jac::RouterOutputPacketCommunicator::buildPacket (
std::vector< int > links
) override
Parameters:
links
the data link ids
Returns:
The packet
Implements jac::OutputPacketCommunicator::buildPacket
function maxPacketSize
Get the maximum packet size for the given data links.
inline virtual size_t jac::RouterOutputPacketCommunicator::maxPacketSize (
std::vector< int > links
) override const
Parameters:
links
the data link ids
Returns:
The maximum packet size
Implements jac::OutputPacketCommunicator::maxPacketSize
The documentation for this class was generated from the following file src/jac/link/routerCommunicator.h