CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
clone_SequentialSharingClone.h
1 /*--------------------------------------------------------------------------------*
2  Copyright (C)Nintendo All rights reserved.
3 
4  These coded instructions, statements, and computer programs contain proprietary
5  information of Nintendo and/or its licensed developers and are protected by
6  national and international copyright laws. They may not be disclosed to third
7  parties or copied or duplicated in any form, in whole or in part, without the
8  prior written consent of Nintendo.
9 
10  The content herein is highly confidential and should be handled accordingly.
11  *--------------------------------------------------------------------------------*/
12 
13 
14 #pragma once
15 
16 #include <nn/pia/clone/clone_Definitions.h>
17 #include <nn/pia/clone/clone_SharingClone.h>
18 
19 namespace nn
20 {
21 namespace pia
22 {
23 namespace clone
24 {
25 
26 
27 /*!
28  @brief 無制限に送信のできる双方向の送受信を行う CloneBase 派生クラスです。
29 
30  @attention SequentialSharingClone には EventCloneElement, reckoning::ReckoningCloneElement を登録することはできません。
31  */
33 {
34 public:
35  /*!
36  @brief デフォルトコンストラクタです。
37  */
39 
40 
41  /*!
42  @brief デストラクタです。
43  */
44  virtual ~SequentialSharingClone();
45 
46 
47  /*!
48  @brief デバッグに有用な情報をプリントします。
49 
50  @param[in] flag トレースフラグの論理和。詳細は @ref TraceFlag 型を参照してください。
51  */
52  virtual void Trace(uint64_t flag) const;
53 
54 
55  //! @cond PRIVATE
56 
57 public:
58  static Type GetTypeStatic()
59  {
60  return Type_Sequential;
61  }
62  static Key ToKey(Id id)
63  {
64  return CloneBase::ToKey(Type_Sequential, StationIndex_Invalid, id);
65  }
66  virtual Type GetTypeVirtual() const
67  {
68  return GetTypeStatic();
69  }
70 
71 public:
72  virtual bool IsReadyToSetValue() const;
73 
74 protected:
75 public:
76  template <int TEST_ID, typename Arg>
77  static void Test(const SequentialSharingClone& obj, Arg* pArg = NULL);
78 
79  NN_PIA_DISALLOW_COPY(SequentialSharingClone);
80  //! @endcond
81 };
82 }
83 }
84 } // end of namespace nn::pia::clone