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()
virtual Symbology Type() const override
Symbology of configuration object.
Definition: code32.hpp:75
void SetTransmitStartStop(bool transmitStartStop)
Transmit/do not transmit start and stop digits with data.
Definition: code32.hpp:50
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
void SetTransmitCheckDigit(bool transmitCheckDigit)
Append/do not append check digit to data.
Definition: code32.hpp:26
Configuration to access parameters of ReaderWithQuietzoneConfigBase.
Definition: reader_with_quietzone_config_base.hpp:19
Root namespace for the Image Manager interface.
Definition: version.hpp:11
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
Configuration to access parameters of Code32.
Definition: code32.hpp:16
bool TransmitCheckDigit() const
Returns the transmit check digit value.
Definition: code32.hpp:38