1 #include "artdaq/TransferPlugins/TransferInterface.hh"
5 , source_rank_(ps.get<int>(
"source_rank", my_rank))
6 , destination_rank_(ps.get<int>(
"destination_rank", my_rank))
7 , unique_label_(ps.get<std::string>(
"unique_label",
"transfer_between_" + std::to_string(source_rank_) +
"_and_" + std::to_string(destination_rank_)))
8 , buffer_count_(ps.get<size_t>(
"buffer_count", 10))
9 , max_fragment_size_words_(ps.get<size_t>(
"max_fragment_size_words", 1024))
11 TLOG_DEBUG(
uniqueLabel()) <<
"TransferInterface constructor has " << ps.to_string() << TLOG_ENDL;
Role
Used to determine if a TransferInterface is a Sender or Receiver.
std::string uniqueLabel() const
Get the unique label of this TransferInterface instance.
TransferInterface(const fhicl::ParameterSet &ps, Role role)
TransferInterface Constructor.