etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
etrobocon2018_test::LifterTest クラス
etrobocon2018_test::LifterTest の継承関係図
Inheritance graph
etrobocon2018_test::LifterTest 連携図
Collaboration graph

限定公開メンバ関数

virtual void SetUp ()
 
std::int32_t getDefaultCount ()
 
void addDefaultCount (int count)
 
std::int8_t limitPwm (std::int8_t pwm)
 
std::int32_t getCount ()
 

限定公開変数類

Controller controller
 
Lifter lifter { controller }
 

詳解

LifterTest.cpp16 行目に定義があります。

関数詳解

void etrobocon2018_test::LifterTest::addDefaultCount ( int  count)
inlineprotected

LifterTest.cpp27 行目に定義があります。

27 { lifter.default_count -= count; }
std::int32_t etrobocon2018_test::LifterTest::getCount ( )
inlineprotected

LifterTest.cpp29 行目に定義があります。

29 { return lifter.controller.liftMotor.getCount(); }
Motor liftMotor
Definition: Controller.h:44
int32_t getCount(void) const
Definition: Motor.h:67

呼び出し関係図:

std::int32_t etrobocon2018_test::LifterTest::getDefaultCount ( )
inlineprotected

LifterTest.cpp26 行目に定義があります。

26 { return lifter.default_count; }
std::int8_t etrobocon2018_test::LifterTest::limitPwm ( std::int8_t  pwm)
inlineprotected

LifterTest.cpp28 行目に定義があります。

28 { return lifter.limitPwm(pwm); }
virtual void etrobocon2018_test::LifterTest::SetUp ( )
inlineprotectedvirtual

LifterTest.cpp18 行目に定義があります。

19  {
20  lifter.controller.liftMotor.count = 145000;
21  lifter.reset();
22  }
Motor liftMotor
Definition: Controller.h:44

メンバ詳解

Controller etrobocon2018_test::LifterTest::controller
protected

LifterTest.cpp23 行目に定義があります。

Lifter etrobocon2018_test::LifterTest::lifter { controller }
protected

LifterTest.cpp24 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: