1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     boss_StepIdList.h
4 
5   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Rev: 34430 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NN_BOSS_BOSS_STEP_ID_LIST_H_
17 #define NN_BOSS_BOSS_STEP_ID_LIST_H_
18 
19 #include <nn/boss/boss_Const.h>
20 #include <nn/boss/boss_Result.h>
21 #include <nn/boss/boss_Types.h>
22 
23 #ifdef __cplusplus
24 
25 namespace nn {
26 namespace boss {
27 
28 /*!
29   @brief        タスクステップのIDリストを表すクラスです。あるタスクのタスクステップ一覧を取得するためなどに利用します。(ただし現時点では、タスクステップ機能は未対応です。)
30 */
31 class StepIdList
32 {
33 public:
34 /*!
35   @brief        コンストラクタです。
36 */
37     explicit StepIdList(void);
38 
39 /*!
40   @brief        デストラクタです。
41 */
42     virtual ~StepIdList(void);
43 
44 /*!
45   @brief        一覧内のステップID個数を返します。
46 
47   @return       一覧の個数が返ります。<BR>
48 */
49     u16 GetSize(void);
50 
51 /*!
52   @brief        指定した位置のステップIDを返します。
53 
54   @param[in]    index   一覧内の位置を指定します。
55   @return       ステップIDが返ります。<BR>
56          @retval MAX_STEP_ID    indexが不正のため、SETP_IDが取得できません。
57 */
58     u8 GetStepId(u16 index);
59 
60 protected:
61     friend class AccessConfig;
62     StepIdInfoList m_StepId;
63 };
64 
65 } // end of namespace boss
66 } // end of namespace nn
67 
68 #endif // __cplusplus
69 
70 #endif /* NN_BOSS_BOSS_STEP_ID_LIST_H_ */
71