3 #include "reader_with_transmit_start_stop_config.hpp" 11 using namespace Internal;
30 interpret_ = interpret;
63 isActiveOut = pConfig->ReadFromHandle(guard);
68 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 70 CExports::cvbbool_t active;
71 CVB_CALL_CAPI(CvcBcGetSonyCode(reinterpret_cast<std::intptr_t>(guard.Handle()),
75 checkQuietzone_.Ptr(),
76 evalCheckDigit_.Ptr(),
77 transmitCheckDigit_.Ptr(),
78 transmitStartStop_.Ptr(),
82 return SmartBool(active);
85 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 87 Internal::DoResCall([&]()
89 return CVB_CALL_CAPI(CvcBcSetSonyCode(reinterpret_cast<std::intptr_t>(guard.Handle()),
104 : ReaderWithTransmitStartStopConfigBase()
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
static std::unique_ptr< SonyCode > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: sony_code.hpp:60
bool InterpretCode() const
Returns whether to check/ignore full description of SonyCode.
Definition: sony_code.hpp:39
void SetInterpretCode(bool interpret)
Check/ignore full description of SonyCode.
Definition: sony_code.hpp:27
Configuration to access parameters of ReaderWithTransmitStartStopConfigBase.
Definition: reader_with_transmit_start_stop_config.hpp:18
virtual Symbology Type() const override
Symbology of configuration object.
Definition: sony_code.hpp:51
Root namespace for the Image Manager interface.
Definition: version.hpp:11
Configuration to access parameters of SonyCode.
Definition: sony_code.hpp:17