Skip to content

Class eva::BinarizeEqDecor

template <class TReader, int tActivatesOn>

ClassList > eva > BinarizeEqDecor

Decorator that converts reading to binary based on level equality. More...

  • #include <evaReaderDecors.h>

Inherits the following classes: TReader

Inherited by the following classes: eva::Switch

Public Functions

Type Name
BinarizeEqDecor (Args... args)
Constructs a BinarizeEqDecor .
signed short getValue ()
Gets binary value based on equality check.

Detailed Description

Template parameters:

  • TReader Underlying reader type
  • tActivatesOn Value that maps to active state (1)

Public Functions Documentation

function BinarizeEqDecor

Constructs a BinarizeEqDecor .

template<typename... Args>
inline eva::BinarizeEqDecor::BinarizeEqDecor (
    Args... args
) 

Parameters:

  • args Additional arguments passed to TReader constructor

function getValue

Gets binary value based on equality check.

inline signed short eva::BinarizeEqDecor::getValue () 

Returns:

1 if value equals tActivatesOn, 0 otherwise



The documentation for this class was generated from the following file src/evaReaderDecors.h