14GX_P2P_NAMESPACE_BEGIN()
19class GxToolP2PSession : public GxToolBase
33 static constexpr u32 WINDOW_RECT_TOP = 100;
35 static constexpr u32 WINDOW_RECT_HEIGHT = 440;
37 static constexpr u32 WINDOW_RECT_WIDTH = 500;
39 static constexpr u32 SPLITTER_MARGIN = 20;
41 static constexpr u32 BUTTON_HEIGHT = 16;
44 static constexpr u32 GRAPH_RECORD_FRAME = 600;
46 static constexpr u32 GRAPH_DISP_BYTEPERSEC = 10000;
48 static constexpr u32 GRAPH_DISP_PACKETCOUNT = 200;
50 static constexpr u32 GRAPH_UPDATE_SPAN = 10;
52 static constexpr u32 GRAPH_SPLITTER_HEIGHT = 100;
54 static constexpr u32 GRAPH_SPLITTER_WIDTH = 120;
57 enum class P2P_TOOL_TAB
71 GxToolP2PSession(
void);
74 b32 initialize(
void)
override;
83 void update(
void)
override;
85 void onSize(
const GxSize& size)
override;
89 void eventLeaveSession(
void);
92 void eventUPnPOpenPort(
void);
94 void eventUPnPClosePort(
void);
97 void eventConnectDebugServer(void);
110 void getIsHostStation(
void*
const pValue);
112 void getIsLocalStation(
void*
const pValue);
114 void getIsReadyStation(
void*
const pValue);
116 void getStationId(
void*
const pValue);
118 void getStationIpAddress(
void*
const pValue);
120 void getStationPingAverage(
void*
const pValue);
122 void getStationRecvPacketBytesMomentary(
void*
const pValue);
124 void getStationSendPacketBytesMomentary(
void*
const pValue);
126 void getStationRecvPacketCountMomentary(
void*
const pValue);
128 void getStationSendPacketCountMomentary(
void*
const pValue);
130 void getStationRecvPacketBytesPeek(
void*
const pValue);
132 void getStationSendPacketBytesPeek(
void*
const pValue);
134 void getStationRecvPacketCountPeek(
void*
const pValue);
136 void getStationSendPacketCountPeek(
void*
const pValue);
140 b32 createGuiSessionTab(
void);
142 b32 createGuiDebugServerTab(
void);
144 b32 createGuiStationTab(u32 index);
153 GxGuiSplitter* _pGuiSplitterRecieveCountToSendCount;
154 GxGuiSplitter* _pGuiSplitterSendByteToRecvCount;
155 GxGuiSplitter* _pGuiSplitterRecieveByteToSendByte;
160 u32 _sessionRecievePacketBytesMomentary;
161 u32 _sessionSendPacketBytesMomentary;
162 u32 _sessionRecievePacketBytesPeek;
163 u32 _sessionSendPacketBytesPeek;
164 u32 _sessionRecievePacketCountMomentary;
165 u32 _sessionSendPacketCountMomentary;
166 u32 _sessionRecievePacketCountPeek;
167 u32 _sessionSendPacketCountPeek;
168 u32 _sessionDebugSimulatePacketLatency;
169 f32 _sessionDebugSimulatePacketLost;
180GX_P2P_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
void GxTypedObject
その他
Definition GxDefine.h:213
static constexpr ns32 NETWORK_GAMER_MAX
ゲーマー数 (※最大接続人数)
Definition GxP2PSessionManager.h:148
Stationクラス
Definition GxP2PSessionManager.h:19
プロパティクラス
Definition GxProperty.h:48
実行時型情報クラス
Definition GxRtti.h:154
サイズ
Definition GxStruct.h:730
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173