etrobocon2018 feat.KatLab
770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
総合概要
諸情報
名前空間
クラス
ファイル
ファイル一覧
ファイルメンバ
全て
クラス
名前空間
ファイル
関数
変数
列挙型
列挙値
フレンド
マクロ定義
ページ
str
ev3-api
library
libcpp-ev3
include
TouchSensor.h
[詳解]
1
//
2
// TouchSensor.h
3
//
4
// Copyright (c) 2015-2016 Embedded Technology Software Design Robot Contest
5
//
6
7
#ifndef EV3CPPAPI_TOUCHSENSOR_H_
8
#define EV3CPPAPI_TOUCHSENSOR_H_
9
10
#include "
Sensor.h
"
11
12
namespace
ev3api {
16
class
TouchSensor
:
public
Sensor
17
{
18
public
:
24
explicit
TouchSensor
(
ePortS
port);
25
32
bool
isPressed
(
void
)
const
;
33
};
// class TouchSensor
34
}
// namespace etrobo::ev3
35
36
#endif
ev3api::TouchSensor::TouchSensor
TouchSensor(ePortS port)
Definition:
TouchSensor.cpp:13
ePortS
ePortS
Definition:
Port.h:18
ev3api::Sensor
Definition:
Sensor.h:18
ev3api::TouchSensor
Definition:
TouchSensor.h:16
ev3api::TouchSensor::isPressed
bool isPressed(void) const
Definition:
TouchSensor.cpp:20
Sensor.h
構築:
1.8.6