1 #include "artdaq/TransferPlugins/TransferInterface.hh"
virtual int source_rank() const
Get the source rank for this TransferInterface instance.
NullTransfer(const fhicl::ParameterSet &pset, Role role)
NullTransfer constructor.
Role role() const
Get the TransferInterface::Role of this TransferInterface.
NullTransfer does not send or receive data, but acts as if it did.
int receiveFragmentHeader(detail::RawFragmentHeader &, size_t) override
Pretend to receive a Fragment Header.
virtual ~NullTransfer()=default
NullTransfer default Destructor.
CopyStatus moveFragment(artdaq::Fragment &&) override
Pretend to move a Fragment to a destination.
Role
Used to determine if a TransferInterface is a Sender or Receiver.
CopyStatus copyFragment(artdaq::Fragment &, size_t) override
Pretend to copy a Fragment to a destination.
int receiveFragment(artdaq::Fragment &, size_t) override
Pretend to receive a Fragment.
The send operation completed successfully.
This interface defines the functions used to transfer data between artdaq applications.
int receiveFragmentData(RawDataType *, size_t) override
Pretend to receive Fragment Data.
CopyStatus
Returned from the send functions, this enumeration describes the possible return codes. If an exception occurs, it will be thrown and should be handled normally.