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()
Configuration to access parameters of Codabar.
Definition: codabar.hpp:18
static std::unique_ptr< Codabar > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: codabar.hpp:30
Configuration to access parameters of ReaderWithTransmitStartStopConfigBase.
Definition: reader_with_transmit_start_stop_config.hpp:19
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
@ Codabar
Codabar Barcode.
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24