KisaragiLibrary
 
読み取り中…
検索中…
一致する文字列を見つけられません
Kisaragi_Lib::Debug クラス

Debug用コンソール操作クラス [詳解]

#include <Debug.hpp>

クラス

class  Debug_Impl
 

公開メンバ関数

 Debug ()
 
void Clear ()
 コンソールクリア
 
void Print (const std::string _in)
 コンソール出力(改行なし)
 
void PrintLine (const std::string _in)
 コンソール出力(改行あり)
 
void PrintWarning (const std::string _in)
 警告用コンソール出力(文字色しか変わらない)
 
void PrintAssert (const std::string _in)
 エラー出力用コンソール出力(文字色しか変わらない)
 

静的公開メンバ関数

static void ClearStatic ()
 コンソールクリア
 
static void PrintStatic (const std::string _in)
 コンソール出力(改行なし)
 
static void PrintLineStatic (const std::string _in)
 コンソール出力(改行あり)
 
static void PrintWarningStatic (const std::string _in)
 警告用コンソール出力(文字色しか変わらない)
 
static void PrintAssertStatic (const std::string _in)
 エラー出力用コンソール出力(文字色しか変わらない)
 

非公開変数類

std::weak_ptr< Debug_Implptr
 

詳解

Debug用コンソール操作クラス

構築子と解体子

◆ Debug()

Kisaragi_Lib::Debug::Debug ( )
102 {
104 }
std::weak_ptr< Debug_Impl > ptr
Definition Debug.hpp:91
static std::weak_ptr< T > GetPtr()
T^̃CX^Xptr擾
Definition Singleton.hpp:50

関数詳解

◆ Clear()

void Kisaragi_Lib::Debug::Clear ( )

コンソールクリア

107 {
108 ptr.lock()->Clear();
109 }

◆ Print()

void Kisaragi_Lib::Debug::Print ( const std::string _in)

コンソール出力(改行なし)

引数
_in出力する文字列
112 {
113 ptr.lock()->Print(_in);
114 }

◆ PrintLine()

void Kisaragi_Lib::Debug::PrintLine ( const std::string _in)

コンソール出力(改行あり)

引数
_in出力する文字列
117 {
118 ptr.lock()->PrintLine(_in);
119 }

◆ PrintWarning()

void Kisaragi_Lib::Debug::PrintWarning ( const std::string _in)

警告用コンソール出力(文字色しか変わらない)

引数
_in出力する文字列
122 {
123 ptr.lock()->PrintWarning(_in);
124 }

◆ PrintAssert()

void Kisaragi_Lib::Debug::PrintAssert ( const std::string _in)

エラー出力用コンソール出力(文字色しか変わらない)

引数
_in出力する文字列
127 {
128 ptr.lock()->PrintAssert(_in);
129 }

◆ ClearStatic()

void Kisaragi_Lib::Debug::ClearStatic ( )
static

コンソールクリア

133 {
135 }
static T & GetInstance()
T^̃CX^X擾.
Definition Singleton.hpp:39

◆ PrintStatic()

void Kisaragi_Lib::Debug::PrintStatic ( const std::string _in)
static

コンソール出力(改行なし)

引数
_in出力する文字列
138 {
140 }

参照元 Kisaragi_ECS::ResourceLoader::ImageLoad().

◆ PrintLineStatic()

void Kisaragi_Lib::Debug::PrintLineStatic ( const std::string _in)
static

コンソール出力(改行あり)

引数
_in出力する文字列
143 {
145 }

参照元 Player02::OnCollisionEnter(), Player02::OnCollisionExit(), Player02::OnCollisionStay(), Player02::Update().

◆ PrintWarningStatic()

void Kisaragi_Lib::Debug::PrintWarningStatic ( const std::string _in)
static

警告用コンソール出力(文字色しか変わらない)

引数
_in出力する文字列
148 {
150 }

参照元 Kisaragi_ECS::ResourceLoader::ImageLoad(), Kisaragi_Lib::SoundClip::Pause(), Kisaragi_Lib::SoundClip::Play(), Kisaragi_Lib::SoundClip::Stop().

◆ PrintAssertStatic()

メンバ詳解

◆ ptr

std::weak_ptr<Debug_Impl> Kisaragi_Lib::Debug::ptr
private

このクラス詳解は次のファイルから抽出されました: