3#include "reader_with_transmit_start_stop_config.hpp"
11 using namespace Internal;
30 fullAscii_ = fullAscii;
63 isActiveOut = pConfig->ReadFromHandle(guard);
68 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
70 CExports::cvbbool_t active;
71 CVB_CALL_CAPI(CvcBcGetCode39(
reinterpret_cast<std::intptr_t>(guard.Handle()),
75 checkQuietzone_.Ptr(),
76 evalCheckDigit_.Ptr(),
77 transmitCheckDigit_.Ptr(),
78 transmitStartStop_.Ptr(),
83 return SmartBool(active);
86 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
88 Internal::DoResCall([&]()
90 return CVB_CALL_CAPI(CvcBcSetCode39(
reinterpret_cast<std::intptr_t>(guard.Handle()),
105 : ReaderWithTransmitStartStopConfigBase()
Configuration to access parameters of Code39.
Definition: code39.hpp:18
static std::unique_ptr< Code39 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: code39.hpp:60
void SetAllowFullAscii(bool fullAscii)
Permit/do not permit complete ASCII code.
Definition: code39.hpp:27
bool AllowFullAscii() const
Returns whether to permit/do not permit complete ASCII code.
Definition: code39.hpp:39
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
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24