ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::ObservableStatus::DeferSignal Class Reference

Defer signal changes until later time. More...

#include <status.hpp>

Public Member Functions

 DeferSignal ()=default
 
 DeferSignal (ObservableStatus *status)
 
 ~DeferSignal () noexcept
 
 DeferSignal (DeferSignal &&) noexcept
 
DeferSignaloperator= (DeferSignal &&) noexcept
 
void Reset () noexcept
 If object is valid. More...
 
bool IsValid () const noexcept
 

Detailed Description

Defer signal changes until later time.

This is mainly usedful to allow making multiple changes with only one signal being emitted.

Effects:

Definition at line 177 of file status.hpp.

Constructor & Destructor Documentation

◆ DeferSignal() [1/3]

daq::ObservableStatus::DeferSignal::DeferSignal ( )
default

◆ DeferSignal() [2/3]

daq::ObservableStatus::DeferSignal::DeferSignal ( ObservableStatus status)

Definition at line 132 of file status.cpp.

◆ ~DeferSignal()

daq::ObservableStatus::DeferSignal::~DeferSignal ( )
noexcept

Definition at line 152 of file status.cpp.

◆ DeferSignal() [3/3]

daq::ObservableStatus::DeferSignal::DeferSignal ( ObservableStatus::DeferSignal &&  other)
noexcept

Definition at line 138 of file status.cpp.

Member Function Documentation

◆ IsValid()

bool daq::ObservableStatus::DeferSignal::IsValid ( ) const
inlinenoexcept
Returns
true if object is valid.

Definition at line 192 of file status.hpp.

◆ operator=()

ObservableStatus::DeferSignal & daq::ObservableStatus::DeferSignal::operator= ( ObservableStatus::DeferSignal &&  other)
noexcept

Definition at line 144 of file status.cpp.

◆ Reset()

void daq::ObservableStatus::DeferSignal::Reset ( )
noexcept

If object is valid.

Definition at line 156 of file status.cpp.


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