CTR-Pia
5.4.3
Game Communication Engine
メインページ
ネームスペース一覧
クラス構成
クラス索引
関連ページ
Result 検索
全て
クラス
ネームスペース
関数
変数
型定義
列挙型
列挙型の値
ページ
transport_TransportAnalysisData.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/transport/transport_Definitions.h>
17
18
#include <nn/pia/transport/transport_PacketAnalysisData.h>
19
#include <nn/pia/transport/transport_ConnectionAnalysisData.h>
20
21
22
namespace
nn
23
{
24
namespace
pia
25
{
26
namespace
transport
27
{
28
29
30
/*!
31
@brief TransportAnalysisData は、送受信パケットの分析データと、
32
各ステーションとの接続品質を表すパラメータ(RTT、パケロス率)をまとめた構造体です。
33
34
*/
35
struct
TransportAnalysisData
36
{
37
struct
PacketAnalysisData
sendPacketAnalysisData
;
//!< 送信したパケットの分析データ。
38
struct
PacketAnalysisData
sendUnicastPacketAnalysisData
;
//!< ユニキャストで送信したパケットの分析データ。
39
struct
PacketAnalysisData
sendBroadcastPacketAnalysisData
;
//!< ブロードキャストで送信したパケットの分析データ。
40
struct
PacketAnalysisData
recvPacketAnalysisData
;
//!< 受信したパケットの分析データ。
41
struct
ConnectionAnalysisData
connectionAnalysisData
;
//!< 接続品質の分析データ。
42
uint32_t
dispatchCount
;
//!< ディスパッチ回数
43
44
/*!
45
@brief データをコンソールに出力します。
46
47
@param[in] isDetail Pia 内部で使用されているプロトコルも出力する場合は true を設定します。
48
@param[in] isTotalOnly ユニキャスト送信とブロードキャスト送信を分けた分析データも出力する場合は false を設定します。
49
*/
50
void
Print
(
bool
isDetail,
bool
isTotalOnly)
const
;
51
52
53
/*!
54
@brief デバッグに有用な情報をプリントします。
55
56
@param[in] flag トレースフラグの論理和。詳細は @ref TraceFlag 型を参照してください。
57
*/
58
void
Trace
(uint64_t flag)
const
;
59
};
60
}
61
}
62
}
// end of namespace nn::pia::transport
Include
nn
pia
transport
transport_TransportAnalysisData.h
© 2016 Nintendo Co., Ltd. All rights reserved. 記載されている会社名、製品名等は、各社の登録商標または商標です。