etrobocon2018 feat.KatLab
770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
総合概要
諸情報
名前空間
クラス
ファイル
ファイル一覧
ファイルメンバ
全て
クラス
名前空間
ファイル
関数
変数
列挙型
列挙値
フレンド
マクロ定義
ページ
str
apps
include
InitialPositionCodeDecoder.h
[詳解]
1
6
#ifndef __INITIAL_POSITION_CODE_DECODER__
7
#define __INITIAL_POSITION_CODE_DECODER__
8
9
#include <cstdint>
10
#include <vector>
11
29
class
InitialPositionCodeDecoder
{
30
public
:
36
void
decode
(std::int32_t code);
37
43
std::int32_t
getInitialPositionCode
();
44
50
std::vector<std::int8_t>
getInitialPositionCodeList
();
51
63
std::int8_t
getInitialPositionPowerBlockCode
();
64
65
private
:
69
std::int32_t initialPositionCode;
70
74
std::vector<std::int8_t> initialPositionCodeList = {0, 0, 0, 0};
75
79
std::int8_t initialPositionPowerBlockCode = 0;
80
};
81
82
#endif
InitialPositionCodeDecoder::getInitialPositionPowerBlockCode
std::int8_t getInitialPositionPowerBlockCode()
Definition:
InitialPositionCodeDecoder.cpp:47
InitialPositionCodeDecoder::getInitialPositionCodeList
std::vector< std::int8_t > getInitialPositionCodeList()
Definition:
InitialPositionCodeDecoder.cpp:43
InitialPositionCodeDecoder
Definition:
InitialPositionCodeDecoder.h:29
InitialPositionCodeDecoder::getInitialPositionCode
std::int32_t getInitialPositionCode()
Definition:
InitialPositionCodeDecoder.cpp:39
InitialPositionCodeDecoder::decode
void decode(std::int32_t code)
Definition:
InitialPositionCodeDecoder.cpp:9
構築:
1.8.6