1 #include "artdaq/TransferPlugins/TransferInterface.hh"
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.
virtual ~NullTransfer()=default
NullTransfer default Destructor.
int source_rank() const
Get the source rank for this TransferInterface instance.
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.
CopyStatus moveFragment(artdaq::Fragment &&, size_t) override
Pretend to move a Fragment to a destination.
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.