⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colordetector.h

📁 为参加日本的ET机器人比赛写的LEGO机器人控制程序
💻 H
字号:
/******************************************************************************\
*
* File:          ColorDetector.h
* Creation date: June 23, 2008 10:30
* Latest update: July 09, 2008 16:39
* Author:        ClassBuilder
*                XXXX
* Purpose:       Declaration of class 'ColorDetector'
* CB version:    ClassBuilder Version 2.9 (PR523)
*
* Modifications: @INSERT_MODIFICATIONS(* )
* June 23, 2008 10:30 Chijinliang
*     Added method 'DestructorInclude'
*     Added method 'ConstructorInclude'
*     Added method 'Detect'
*     Added method '~ColorDetector'
*
* Copyright 2008, XXXXX
* All rights are reserved. Reproduction in whole or part is prohibited
* without the written consent of the copyright owner.
*
\******************************************************************************/
#ifndef _COLORDETECTOR_H
#define _COLORDETECTOR_H

/*
僇儔乕敾掕僋儔僗
*/
class ColorDetector
{

private:
    void ConstructorInclude();
    void DestructorInclude();

public:
    virtual ~ColorDetector();
    static Color Detect(unsigned int sensorValue,
                        const Calibration& calibration);
};

#endif // ndef _COLORDETECTOR_H


#ifdef CB_INLINES
#ifndef _COLORDETECTOR_H_INLINES
#define _COLORDETECTOR_H_INLINES

#endif // ndef _COLORDETECTOR_H_INLINES
#endif //  def CB_INLINES

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -