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

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

#include <source.hpp>

Public Types

using RrClient = recif::RecCmdsAsync
 

Public Member Functions

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

Friends

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

Detailed Description

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

Definition at line 96 of file source.hpp.

Member Typedef Documentation

◆ RrClient

using daq::PrimSource::RrClient = recif::RecCmdsAsync

Definition at line 98 of file source.hpp.

Constructor & Destructor Documentation

◆ PrimSource() [1/3]

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

Definition at line 103 of file source.hpp.

◆ PrimSource() [2/3]

daq::PrimSource::PrimSource ( PrimSource &&  )
default

◆ PrimSource() [3/3]

daq::PrimSource::PrimSource ( PrimSource const &  )
default

Member Function Documentation

◆ GetName()

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

Definition at line 117 of file source.hpp.

◆ GetRrClient()

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

Definition at line 121 of file source.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 125 of file source.hpp.


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