DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::snbmodules::IOManagerWrapper Class Reference

#include <iomanager_wrapper.hpp>

Public Member Functions

 IOManagerWrapper (IOManagerWrapper &other)=delete
 
void operator= (const IOManagerWrapper &)=delete
 
iomanager::ConnectionResponse lookups_connection (const iomanager::ConnectionId &conn_id, bool restrict_single)
 init IOManager instance, Only used for stand alone application
 

Static Public Member Functions

static IOManagerWrapperget ()
 

Protected Attributes

std::vector< const confmodel::NetworkConnection * > m_connections
 add a connection to the list of connections, Only used for stand alone application
 
std::vector< const confmodel::Queue * > m_queues
 List of queues.
 

Private Member Functions

 IOManagerWrapper ()=default
 

Detailed Description

Definition at line 26 of file iomanager_wrapper.hpp.

Constructor & Destructor Documentation

◆ IOManagerWrapper() [1/2]

dunedaq::snbmodules::IOManagerWrapper::IOManagerWrapper ( IOManagerWrapper & other)
delete

◆ IOManagerWrapper() [2/2]

dunedaq::snbmodules::IOManagerWrapper::IOManagerWrapper ( )
privatedefault

Member Function Documentation

◆ get()

static IOManagerWrapper & dunedaq::snbmodules::IOManagerWrapper::get ( )
inlinestatic

Definition at line 30 of file iomanager_wrapper.hpp.

31 {
32 static IOManagerWrapper instance;
33 return instance;
34 }

◆ lookups_connection()

iomanager::ConnectionResponse dunedaq::snbmodules::IOManagerWrapper::lookups_connection ( const iomanager::ConnectionId & conn_id,
bool restrict_single )

init IOManager instance, Only used for stand alone application

Parameters
use_connectivity_serviceif true, use the connectivity service
ipip of the connectivity service

lookups a connection with the given pattern

Parameters
conn_idregex pattern of the connection
restrict_singleif true, only one connection is allowed with the given pattern
Returns
connection response

Definition at line 45 of file iomanager_wrapper.cpp.

46{
47 TLOG() << "BLAB " << __LINE__ << " " << conn_id.uid << " " << conn_id.data_type << " " << conn_id.session;
48 return iomanager::NetworkManager::get().get_connections(conn_id, restrict_single);
49}
static NetworkManager & get()
ConnectionResponse get_connections(ConnectionId const &conn_id, bool restrict_single=false) const
#define TLOG(...)
Definition macro.hpp:22

◆ operator=()

void dunedaq::snbmodules::IOManagerWrapper::operator= ( const IOManagerWrapper & )
delete

Member Data Documentation

◆ m_connections

std::vector<const confmodel::NetworkConnection*> dunedaq::snbmodules::IOManagerWrapper::m_connections
protected

add a connection to the list of connections, Only used for stand alone application

Parameters
ipip of the connection
idname of the connection
data_typedata type of the connection data

List of connections

Definition at line 63 of file iomanager_wrapper.hpp.

◆ m_queues

std::vector<const confmodel::Queue*> dunedaq::snbmodules::IOManagerWrapper::m_queues
protected

List of queues.

Definition at line 65 of file iomanager_wrapper.hpp.


The documentation for this class was generated from the following files: