Class jac::OutputPacketCommunicator
ClassList > jac > OutputPacketCommunicator
Communicator interface that can be used to send packets.
#include <communicator.h>
Inherited by the following classes: jac::RouterOutputPacketCommunicator
Public Functions
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 OutputPacketCommunicator [1/2]
function OutputPacketCommunicator [2/2]
jac::OutputPacketCommunicator::OutputPacketCommunicator (
const OutputPacketCommunicator &
) = delete
function buildPacket
Build a packet for the given data links.
virtual std::unique_ptr< Packet > jac::OutputPacketCommunicator::buildPacket (
std::vector< int > links
) = 0
Parameters:
links
the data link ids
Returns:
The packet
function maxPacketSize
Get the maximum packet size for the given data links.
Parameters:
links
the data link ids
Returns:
The maximum packet size
function operator=
OutputPacketCommunicator & jac::OutputPacketCommunicator::operator= (
const OutputPacketCommunicator &
) = delete
function ~OutputPacketCommunicator
The documentation for this class was generated from the following file src/jac/link/communicator.h