ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Types | Public Member Functions | Friends | List of all members
daq::MetaSource Class Reference

Keeps relevant state to be able to communicate with a primary data source. More...

#include <source.hpp>

Public Types

using RrClient = metadaqif::MetaDaqAsync
 

Public Member Functions

 MetaSource (std::string name, std::shared_ptr< RrClient > client)
 
 MetaSource (MetaSource &&)=default
 
 MetaSource (MetaSource const &)=default
 
MetaSourceoperator= (MetaSource const &)=default
 
MetaSourceoperator= (MetaSource &&)=default
 
std::string const & GetName () const
 
RrClientGetRrClient ()
 

Friends

std::ostream & operator<< (std::ostream &os, MetaSource const &s)
 

Detailed Description

Keeps relevant state to be able to communicate with a primary data source.

Definition at line 140 of file source.hpp.

Member Typedef Documentation

◆ RrClient

using daq::MetaSource::RrClient = metadaqif::MetaDaqAsync

Definition at line 142 of file source.hpp.

Constructor & Destructor Documentation

◆ MetaSource() [1/3]

daq::MetaSource::MetaSource ( std::string  name,
std::shared_ptr< RrClient client 
)
inline
Exceptions
std::invalid_argumentif name or client is invalid.

Definition at line 147 of file source.hpp.

◆ MetaSource() [2/3]

daq::MetaSource::MetaSource ( MetaSource &&  )
default

◆ MetaSource() [3/3]

daq::MetaSource::MetaSource ( MetaSource const &  )
default

Member Function Documentation

◆ GetName()

std::string const& daq::MetaSource::GetName ( ) const
inline

Definition at line 161 of file source.hpp.

◆ GetRrClient()

RrClient& daq::MetaSource::GetRrClient ( )
inline

Definition at line 165 of file source.hpp.

◆ operator=() [1/2]

MetaSource& daq::MetaSource::operator= ( MetaSource &&  )
default

◆ operator=() [2/2]

MetaSource& daq::MetaSource::operator= ( MetaSource const &  )
default

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
MetaSource const &  s 
)
friend

Definition at line 169 of file source.hpp.


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