3 #include "reader_with_transmit_start_stop_config.hpp" 11 using namespace Internal;
33 isActiveOut = pConfig->ReadFromHandle(guard);
38 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 40 CExports::cvbbool_t active;
41 CVB_CALL_CAPI(CvcBcGetCodabar(reinterpret_cast<std::intptr_t>(guard.Handle()),
45 checkQuietzone_.Ptr(),
46 evalCheckDigit_.Ptr(),
47 transmitCheckDigit_.Ptr(),
48 transmitStartStop_.Ptr(),
51 return SmartBool(active);
54 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 56 Internal::DoResCall([&]()
58 return CVB_CALL_CAPI(CvcBcSetCodabar(reinterpret_cast<std::intptr_t>(guard.Handle()),
72 : ReaderWithTransmitStartStopConfigBase()
static std::unique_ptr< Codabar > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: codabar.hpp:30
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
Configuration to access parameters of Codabar.
Definition: codabar.hpp:17
Configuration to access parameters of ReaderWithTransmitStartStopConfigBase.
Definition: reader_with_transmit_start_stop_config.hpp:18
Root namespace for the Image Manager interface.
Definition: version.hpp:11
virtual Symbology Type() const override
Symbology of configuration object.
Definition: codabar.hpp:21