etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
InitialPositionCodeDecoder.h
[詳解]
1 
6 #ifndef __INITIAL_POSITION_CODE_DECODER__
7 #define __INITIAL_POSITION_CODE_DECODER__
8 
9 #include <cstdint>
10 #include <vector>
11 
30  public:
36  void decode(std::int32_t code);
37 
43  std::int32_t getInitialPositionCode();
44 
50  std::vector<std::int8_t> getInitialPositionCodeList();
51 
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
std::vector< std::int8_t > getInitialPositionCodeList()