3#include "reader_with_quietzone_config_base.hpp"
11 using namespace Internal;
29 transmitCheckDigit_ = transmitCheckDigit;
40 return transmitCheckDigit_;
53 transmitStartStop_ = transmitStartStop;
64 return transmitStartStop_;
70 SmartBool transmitCheckDigit_;
71 SmartBool transmitStartStop_;
87 isActiveOut = pConfig->ReadFromHandle(guard);
92 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
94 CExports::cvbbool_t active;
95 CVB_CALL_CAPI(CvcBcGetCode32(
reinterpret_cast<std::intptr_t>(guard.Handle()),
97 checkQuietzone_.Ptr(),
98 transmitCheckDigit_.Ptr(),
99 transmitStartStop_.Ptr(),
103 return SmartBool(active);
106 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
108 Internal::DoResCall([&]()
110 return CVB_CALL_CAPI(CvcBcSetCode32(
reinterpret_cast<std::intptr_t>(guard.Handle()),
121 : ReaderWithQuietzoneConfigBase()
Configuration to access parameters of Code32.
Definition: code32.hpp:17
static std::unique_ptr< Code32 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: code32.hpp:84
bool TransmitStartStop() const
Returns whether to transmit/not transmit start and stop digits with data.
Definition: code32.hpp:62
void SetTransmitCheckDigit(bool transmitCheckDigit)
Append/do not append check digit to data.
Definition: code32.hpp:26
void SetTransmitStartStop(bool transmitStartStop)
Transmit/do not transmit start and stop digits with data.
Definition: code32.hpp:50
bool TransmitCheckDigit() const
Returns the transmit check digit value.
Definition: code32.hpp:38
Configuration to access parameters of ReaderWithQuietzoneConfigBase.
Definition: reader_with_quietzone_config_base.hpp:20
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24