3#include "reader_2d_config_base.hpp"
11 using namespace Internal;
29 if(composition_ != composition)
31 composition_ = composition;
54 if(orientation_ != orientation)
56 orientation_ = orientation;
114 isActiveOut = pConfig->ReadFromHandle(guard);
119 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
121 CExports::cvbbool_t active;
125 CVB_CALL_CAPI(CvcBcGetRSS(
reinterpret_cast<std::intptr_t>(guard.Handle()), &active,
131 types_ =
static_cast<RssTypes>(tmpTypes);
134 return SmartBool(active);
137 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
139 Internal::DoResCall([&]()
141 return CVB_CALL_CAPI(CvcBcSetRSS(
reinterpret_cast<std::intptr_t>(guard.Handle()),
145 static_cast<short>(types_),
146 static_cast<short>(composition_),
147 static_cast<short>(orientation_)));
152 : Reader2DConfigBase()
Configuration to access parameters of Reader2DConfigBase.
Definition: reader_2d_config_base.hpp:19
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
RssComposition
Composition flags for RSS codes.
Definition: barcode.hpp:428
RssTypes
Types of RSS codes to read.
Definition: barcode.hpp:407
CodeOrientation
Directions that a four state code may have.
Definition: barcode.hpp:190
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24