7#ifndef LOGICALACCESS_RESULTCHECKER_HPP
8#define LOGICALACCESS_RESULTCHECKER_HPP
10#include <logicalaccess/lla_core_api.hpp>
39 virtual void CheckResult(
const void *data,
size_t datalen);
46 virtual bool AllowEmptyResult()
const;
58 void AddCheck(
unsigned char SW1,
unsigned char SW2,
const std::string &msg,
60 bool throwException =
true);
67 void RemoveCheck(
unsigned char SW1,
unsigned char SW2);
81 void AddSingleShotCheck(
unsigned char SW1,
unsigned char SW2,
const std::string &msg);
98 std::map<ResultCheckerKeys, ResultCheckerValues>
mapPrimary;
ErrorType
Definition: myexception.hpp:70
A result checker base class.
Definition: resultchecker.hpp:22
std::pair< unsigned char, unsigned char > ResultCheckerKeys
Result checker map keys.
Definition: resultchecker.hpp:87
std::map< ResultCheckerKeys, ResultCheckerValues > mapSingleShot
Single shot checks.
Definition: resultchecker.hpp:103
std::tuple< std::string, CardException::ErrorType, bool > ResultCheckerValues
Result checker map values.
Definition: resultchecker.hpp:92
std::map< ResultCheckerKeys, ResultCheckerValues > mapPrimary
Primary map checks.
Definition: resultchecker.hpp:98