MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/schematic/SignalMajorization.hh
2024-06-07 11:12:56 +03:00

52 lines
760 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* SignalMajorization.h
*
* Created on: 22 мар. 2017 г.
* Author: titov
*/
#ifndef SOURCE_SIGNALMAJORIZATION_H_
#define SOURCE_SIGNALMAJORIZATION_H_
#include "../systemic/ISignal.hh"
namespace systemic { namespace detail {
class SignalMajorizationAnd : public ISignal {
private:
ISignal & a;
ISignal & b;
const float error;
public:
SignalMajorizationAnd( ISignal &, ISignal &, float delta );
virtual ~SignalMajorizationAnd() = default;
operator float() const;
};
class SignalMajorizationOr : public ISignal {
private:
ISignal & a;
ISignal & b;
public:
SignalMajorizationOr(ISignal &, ISignal &);
virtual ~SignalMajorizationOr() = default;
operator float() const;
};
} }
#endif /* SOURCE_SIGNALMAJORIZATION_H_ */