OROCHI
 
Loading...
Searching...
No Matches
GxSysInput Class Reference

入力システムクラス More...

#include <GxSysInput.h>

Inheritance diagram for GxSysInput:
Collaboration diagram for GxSysInput:

Public Types

定義
enum class  DEVICE {
  DEFAULT = -1 , PAD_0 = 0 , PAD_1 , PAD_2 ,
  PAD_3 , PAD_MAX , OFFLINE_MAX = PAD_MAX , NETWORK_PAD_START = OFFLINE_MAX
}
 デバイス定義 More...
 
enum class  PLAY_PAD { ONCE , LOOP , LOOP_LOCAL , MAX }
 記録再生タイプ More...
 

Public Member Functions

初期化
 GxSysInput (void)
 コンストラクタ
 
 ~GxSysInput (void) override
 デストラクタ
 
b32 initialize (const GxClassBase *pInitializeInformation) override
 初期化
 
virtual GX_FORCE_INLINE b32 isInitialized (void)
 初期化完了判定
 
void terminate (void) override
 終了
 
アクセサ
constexpr u32 getDeviceMax (void)
 デバイスの最大数を取得
 
constexpr GxInputDevicegetDevice (u32 number) const
 デバイスを取得
 
GxPadgetPad (DEVICE number=DEVICE::DEFAULT) const
 パッドを取得
 
b32 isOk (void) const
 決定ボタンの判定
 
b32 isCancel (void) const
 キャンセルボタンの判定
 
- Public Member Functions inherited from GxSysBase
template<typename T >
T * getModule (void) const
 モジュールを取得
 
 GxSysBase (void)
 デフォルトコンストラクタ
 
 ~GxSysBase (void) override
 デストラクタ
 
b32 isLocked (void)
 クリティカルセクションのロック状態を確認する
 
void sleep (f32 time)
 スリープ(スクリプト用)
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 
- Public Member Functions inherited from SingletonBase< GxSysInput >
 SingletonBase (void)
 コンストラクタ
 
 ~SingletonBase (void)
 デストラクタ
 

操作

void update (void) override
 更新処理
 
void saveInputAll (void)
 全入力状態を保存
 
void loadInputAll (void)
 全入力状態を復元
 
void playPad (void)
 パッド再生
 
void stopPadRecorder (void)
 パッド記録・再生停止
 
constexpr void setPlayPadMode (PLAY_PAD mode)
 パッド再生モードを設定
 
constexpr PLAY_PAD getPlayPadMode (void) const
 パッド再生モードを取得
 
GxInputDevicecreateDevice (GxInputDevice::KIND kind)
 デバイスを作成
 
void updatePlayPad (void)
 パッド再生状態更新
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Member Functions inherited from SingletonBase< GxSysInput >
static GX_FORCE_INLINE GxSysInputgetSingleton (void)
 参照を取得
 
static constexpr GxSysInputgetSingletonPointer (void)
 ポインタを取得
 
- Protected Types inherited from GxSysBase
enum class  LOCK_TYPE { SEQUENTIAL_THREAD_SAFE , THREAD_SAFE }
 ロックタイプ More...
 
- Protected Member Functions inherited from GxSysBase
void terminateGxModules (void)
 GXモジュールの終了処理
 
void lock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションに入る
 
void unlock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションを出る
 
template<typename T >
T * addModule (void)
 モジュールを作成
 
template<typename T >
void removeModule (void)
 モジュールを削除
 

Detailed Description

入力システムクラス

Member Enumeration Documentation

◆ DEVICE

enum class GxSysInput::DEVICE
strong

デバイス定義

Enumerator
DEFAULT 

デフォルト

PAD_0 

パッド

PAD_1 

パッド

PAD_2 

パッド

PAD_3 

パッド

PAD_MAX 

パッド定義数

OFFLINE_MAX 

オフライン定義数

NETWORK_PAD_START 

ネットワークパッド開始

◆ PLAY_PAD

enum class GxSysInput::PLAY_PAD
strong

記録再生タイプ

Enumerator
ONCE 

1回再生

LOOP 

繰り返し再生

LOOP_LOCAL 

繰り返し再生(個々の記録長でループ)

MAX 

定義数

Member Function Documentation

◆ createDevice()

GxInputDevice * GxSysInput::createDevice ( GxInputDevice::KIND kind)
protected

デバイスを作成

Parameters
kind[in] 種類
Returns
デバイス
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPad()

GxPad * GxSysInput::getPad ( DEVICE number = DEVICE::DEFAULT) const

パッドを取得

Parameters
number[in] デバイス番号
Returns
パッド
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize()

b32 GxSysInput::initialize ( const GxClassBase * pInitializeInformation)
overridevirtual

初期化

Parameters
pInitializeInformation[in] 初期化情報
Returns
成功ならtrue

Reimplemented from GxSysBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isCancel()

b32 GxSysInput::isCancel ( void ) const

キャンセルボタンの判定

Returns
キャンセルならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOk()

b32 GxSysInput::isOk ( void ) const

決定ボタンの判定

Returns
決定ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate()

void GxSysInput::terminate ( void )
overridevirtual

終了

Reimplemented from GxSysBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void GxSysInput::update ( void )
overridevirtual

更新処理

Reimplemented from GxSysBase.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: