📄 slopestrategy.h
字号:
/******************************************************************************\
*
* File: SlopeStrategy.h
* Creation date: July 05, 2008 14:29
* Latest update: July 09, 2008 16:39
* Author: ClassBuilder
* XXXX
* Purpose: Declaration of class 'SlopeStrategy'
* CB version: ClassBuilder Version 2.9 (PR523)
*
* Modifications: @INSERT_MODIFICATIONS(* )
* July 09, 2008 16:35 Chijinliang
* Added method 'SlopeStrategy'
* July 05, 2008 14:29 Chijinliang
* Added method 'DestructorInclude'
* Added method 'ConstructorInclude'
* Added method 'Judge'
* Added method '~SlopeStrategy'
* Added inheritance 'Strategy'
*
* Copyright 2008, XXXXX
* All rights are reserved. Reproduction in whole or part is prohibited
* without the written consent of the copyright owner.
*
\******************************************************************************/
#ifndef _SLOPESTRATEGY_H
#define _SLOPESTRATEGY_H
class SlopeStrategy
: public Strategy
{
private:
void ConstructorInclude();
void DestructorInclude();
public:
SlopeStrategy(TrackType trackType, unsigned int minColor,
unsigned int maxColor);
virtual ~SlopeStrategy();
const Command* Judge(unsigned int color, int steeringAngle);
};
#endif // ndef _SLOPESTRATEGY_H
#ifdef CB_INLINES
#ifndef _SLOPESTRATEGY_H_INLINES
#define _SLOPESTRATEGY_H_INLINES
#endif // ndef _SLOPESTRATEGY_H_INLINES
#endif // def CB_INLINES
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -