3#include "reader_planet_postnet_config_base.hpp"
11 using namespace Internal;
64 isActiveOut = pConfig->ReadFromHandle(guard);
69 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
71 CExports::cvbbool_t active;
72 unsigned short tmpLevels;
74 CVB_CALL_CAPI(CvcBcGetPlanet(
reinterpret_cast<std::intptr_t>(guard.Handle()),
81 evalCheckDigit_.Ptr(),
82 transmitCheckDigit_.Ptr(),
87 return SmartBool(active);
90 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
92 Internal::DoResCall([&]()
94 return CVB_CALL_CAPI(CvcBcSetPlanet(
reinterpret_cast<std::intptr_t>(guard.Handle()),
96 static_cast<unsigned short>(levels_),
97 static_cast<short>(orientation_),
109 : ReaderPlanetPostnetConfigBase()
Configuration to access parameters of ReaderPlanetPostnetConfigBase.
Definition: reader_planet_postnet_config_base.hpp:20
Configuration to access parameters of Planet.
Definition: planet.hpp:18
PlanetLevels Levels() const
Returns the levels for the allowed code types.
Definition: planet.hpp:40
static std::unique_ptr< Planet > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: planet.hpp:61
void SetLevels(PlanetLevels levels)
Specifies the levels for the allowed code types.
Definition: planet.hpp:27
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
PlanetLevels
Available level flags for Planet codes.
Definition: barcode.hpp:239
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