CTR-Pia
5.4.3
Game Communication Engine
|
送受信されるデータを管理する基底クラスです。 [詳細]
Public 型 | |
typedef uint16_t | Id |
クローンエレメントを識別するための ID の型です。 | |
Public メソッド | |
virtual | ~CloneElementBase () |
デストラクタです。 | |
const CloneBase * | GetCloneBase () const |
このオブジェクトが登録されている CloneBase を取得します。 | |
CloneBase * | GetCloneBase () |
このオブジェクトが登録されている非constな CloneBase を取得します。 | |
Id | GetId () const |
ID を取得します。 | |
const CloneProtocol * | GetProtocol () const |
このオブジェクトが登録されている CloneBase が登録されている CloneProtocol を取得します。 | |
bool | IsReadyToSetValue () const |
値を設定できる状態かどうかを判定します。 | |
bool | IsRegisteredWithCloneBase () const |
CloneBase に登録されているかどうかを判定します。 | |
bool | IsRegisteredWithProtocol () const |
CloneProtocol に登録されているかどうかを判定します。 | |
プロファイリング | |
enum | Type { Type_Unreliable = 0x1000, Type_Reliable = 0x2000, Type_Event = 0x3000, Type_Reckoning = 0x4000, Type_ReliableLarge = 0x5000 } |
クローンエレメントの種類を表す列挙型です。 [詳細] | |
Result | SetProfiler (CloneProfilerBase *pSendProfiler, CloneProfilerBase *pReceiveProfiler) |
送受信のプロファイリング管理オブジェクトを設定します。 | |
const CloneProfilerBase * | GetSendProfiler () const |
設定されている送信プロファイリング管理オブジェクトを取得します。 | |
const CloneProfilerBase * | GetReceiveProfiler () const |
設定されている受信プロファイリング管理オブジェクトを取得します。 | |
void | ResetProfiler () |
送受信のプロファイリングされた結果をリセットします。 | |
uint32_t | GetProfiledLatestSendCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestSendNoCompressedSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledLatestSendUnicastCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間にユニキャストで送信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestSendUnicastSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間にユニキャストで送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledLatestResendCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に再送したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestResendSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に再送したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledLatestSendSystemCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したシステム用クローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestSendSystemSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalSendCount (StationIndex stationIndex) const |
ResetProfiler 以降に送信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalSendNoCompressedSize (StationIndex stationIndex) const |
ResetProfiler 以降に送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalSendUnicastCount (StationIndex stationIndex) const |
ResetProfiler 以降にユニキャストで送信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalSendUnicastSize (StationIndex stationIndex) const |
ResetProfiler 以降にユニキャストで送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalResendCount (StationIndex stationIndex) const |
ResetProfiler 以降に再送したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalResendSize (StationIndex stationIndex) const |
ResetProfiler 以降に再送したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalSendSystemCount (StationIndex stationIndex) const |
ResetProfiler 以降に送信したシステム用クローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalSendSystemSize (StationIndex stationIndex) const |
ResetProfiler 以降に送信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledLatestReceiveCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestReceiveNoCompressedSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledLatestReceiveSystemCount (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したシステム用クローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledLatestReceiveSystemSize (StationIndex stationIndex) const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalReceiveCount (StationIndex stationIndex) const |
ResetProfiler 以降に受信したクローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalReceiveNoCompressedSize (StationIndex stationIndex) const |
ResetProfiler 以降に受信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
uint32_t | GetProfiledTotalReceiveSystemCount (StationIndex stationIndex) const |
ResetProfiler 以降に受信したシステム用クローンエレメントデータの個数を取得します。 | |
uint32_t | GetProfiledTotalReceiveSystemSize (StationIndex stationIndex) const |
ResetProfiler 以降に受信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。 | |
virtual Type | GetType () const =0 |
クローンエレメントの種類を取得します。 | |
送受信されるデータを管理する基底クラスです。
|
inline |
|
inline |
|
inline |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestReceiveCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestReceiveNoCompressedSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestReceiveSystemCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したシステム用クローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestReceiveSystemSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に受信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestResendCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に再送したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestResendSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に再送したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendNoCompressedSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendSystemCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したシステム用クローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendSystemSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間に送信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendUnicastCount | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間にユニキャストで送信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledLatestSendUnicastSize | ( | StationIndex | stationIndex | ) | const |
直近の CloneProfiler::LATEST_BUFFER_SIZE 回の common::Scheduler::Dispatch の間にユニキャストで送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalReceiveCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に受信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalReceiveNoCompressedSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に受信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalReceiveSystemCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に受信したシステム用クローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalReceiveSystemSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に受信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalResendCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に再送したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalResendSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に再送したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に送信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendNoCompressedSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendSystemCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に送信したシステム用クローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendSystemSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降に送信したシステム用クローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendUnicastCount | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降にユニキャストで送信したクローンエレメントデータの個数を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
uint32_t nn::pia::clone::CloneElementBase::GetProfiledTotalSendUnicastSize | ( | StationIndex | stationIndex | ) | const |
ResetProfiler 以降にユニキャストで送信したクローンエレメントデータの圧縮前のサイズ(バイト)を取得します。
[in] | stationIndex | プロファイリング対象の StationIndex です。 |
const CloneProtocol* nn::pia::clone::CloneElementBase::GetProtocol | ( | ) | const |
このオブジェクトが登録されている CloneBase が登録されている CloneProtocol を取得します。
|
inline |
設定されている受信プロファイリング管理オブジェクトを取得します。
|
inline |
設定されている送信プロファイリング管理オブジェクトを取得します。
|
pure virtual |
クローンエレメントの種類を取得します。
bool nn::pia::clone::CloneElementBase::IsReadyToSetValue | ( | ) | const |
値を設定できる状態かどうかを判定します。
|
inline |
bool nn::pia::clone::CloneElementBase::IsRegisteredWithProtocol | ( | ) | const |
CloneProtocol に登録されているかどうかを判定します。
void nn::pia::clone::CloneElementBase::ResetProfiler | ( | ) |
送受信のプロファイリングされた結果をリセットします。
Result nn::pia::clone::CloneElementBase::SetProfiler | ( | CloneProfilerBase * | pSendProfiler, |
CloneProfilerBase * | pReceiveProfiler | ||
) |
送受信のプロファイリング管理オブジェクトを設定します。
CloneProfiler を設定すると、クローンエレメントが行った送受信をプロファイリングできます。 ここでの計測は、このクローンエレメントが他のクローンエレメントと行うすべてのデータのやり取りが計上されるため、 自ステーション内でのクローンエレメント間のデータのやり取りも値に含まれます。
圧縮を有効にしていた場合でも、計測されるサイズは非圧縮状態でのサイズです。
引数に NULL を指定すると、既に設定してある CloneProfiler を解除する事ができます。
[in] | pSendProfiler | 送信のプロファイリングを管理する CloneProfiler を指定します。 必要ない場合は NULL を指定する必要があります。 |
[in] | pReceiveProfiler | 受信のプロファイリングを管理する CloneProfiler を指定します。 必要ない場合は NULL を指定する必要があります。 |