Sample program showing how to connect GR-PEACH into Watson IoT through mbed Connector and Watson's Connector Bridge

Dependencies:   AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ByQuadrantReader.h Source File

ByQuadrantReader.h

00001 #ifndef __BY_QUADRANT_READER_H__
00002 #define __BY_QUADRANT_READER_H__
00003 
00004 /*
00005  *  Copyright 2011 ZXing authors All rights reserved.
00006  *
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  *
00011  *      http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 #include <zxing/Reader.h>
00021 #include <zxing/BinaryBitmap.h>
00022 #include <zxing/Result.h>
00023 #include <zxing/DecodeHints.h>
00024 
00025 namespace zxing {
00026 namespace multi {
00027 
00028 class ByQuadrantReader : public Reader {
00029   private:
00030     Reader& delegate_;
00031 
00032   public:
00033     ByQuadrantReader(Reader& delegate);
00034     virtual ~ByQuadrantReader();
00035     virtual Ref<Result> decode(Ref<BinaryBitmap> image);
00036     virtual Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints);
00037 };
00038 
00039 }
00040 }
00041 
00042 #endif // __BY_QUADRANT_READER_H__