ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Classes | Namespaces
utility.hpp File Reference

Declaration of utilities. More...

Go to the source code of this file.

Classes

struct  daq::Result< T, ErrorType >
 Utility class that represents a result and an error. More...
 
struct  daq::Result< void >
 

Namespaces

 daq
 

Detailed Description

Declaration of utilities.

Definition in file utility.hpp.


Class Documentation

◆ daq::Result

struct daq::Result

template<class T = void, class ErrorType = bool>
struct daq::Result< T, ErrorType >

Utility class that represents a result and an error.

Definition at line 17 of file utility.hpp.

Class Members
ErrorType error
T result

◆ daq::Result< void >

struct daq::Result< void >

Definition at line 23 of file utility.hpp.

Class Members
bool error