![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0 |
SFXEvent クラスは、イベント ハンドラに送信する、イベント タイプ (= AEEEvent 型のイベント コード) と 2 つのイベント パラメーター( P16 パラメーター と P32 パラメーター ) からなるイベントをカプセル化しています。
| コンストラクタ/デストラクタ |
|---|
|
SFXEvent( Void ) SFXEvent( SFXEventConstRef param ) SFXEvent( AEEEvent type , UInt16 p16 , UInt32 p32 ) SFXEvent クラスのコンストラクタです。
|
| パブリック関数 | |
|---|---|
| Bool |
Equals(
SFXEventConstRef param
) Equals( AEEEvent type , UInt16 p16 , UInt32 p32 ) 2 つの SFXEvent が等しいか判定します。
|
| Bool |
EqualsTypeP16(
SFXEventConstRef param
) EqualsTypeP16( AEEEvent type , UInt16 p16 ) イベント タイプと P16 パラメーターが指定した値と一致しているか判定します。
|
| UInt16 |
GetP16( Void ) P16 パラメーターを取得します。
|
| UInt32 |
GetP32( Void ) 32 ビット パラメーターを取得します。
|
| AEEEvent |
GetType( Void ) イベント タイプを取得します。
|
| static SFXEventConstRef |
NoneInstance( Void ) SFEVT_NONE を表すインスタンスを返します。
|
| Void |
Set(
SFXEventConstRef param
) Set( AEEEvent type , UInt16 p16 , UInt32 p32 ) イベントの値を設定します。
|
| Void |
SetP16(
UInt16 param
) P16 パラメーターを設定します。
|
| Void |
SetP32(
UInt32 param
) 32 ビット パラメーターを設定します。
|
| Void |
SetType(
AEEEvent param
) イベント タイプを設定します。
|
| Void |
SetTypeP16(
AEEEvent type
, UInt16 p16
) イベント タイプと P16 パラメーターを設定します。
|
| SFXEventRef |
operator=(
SFXEventConstRef param
) SFXEvent を代入します。
|
| SFXEvent::AtomRec * |
atomic_cast(
SFXEvent * param
) SFXEvent を SFXEvent::AtomRec に変換します。
|
| SFXEvent::AtomRec const * |
atomic_cast(
SFXEvent const * param
) SFXEvent を SFXEvent::AtomRec に変換します。
|
| Bool |
operator==(
SFXEventConstRef left
, SFXEventConstRef right
) == の関係を判定します。
|
| Bool |
operator!=(
SFXEventConstRef left
, SFXEventConstRef right
) != の関係を判定します。
|
| 型 |
|---|
|
AtomRec
イベントを表す構造体です。
|
| グローバル関数 | |
|---|---|
| SFXEvent::AtomRec * |
atomic_cast(
SFXEvent * param
) SFXEvent を SFXEvent::AtomRec に変換します。
|
| SFXEvent::AtomRec const * |
atomic_cast(
SFXEvent const * param
) SFXEvent を SFXEvent::AtomRec に変換します。
|
| Bool |
operator==(
SFXEventConstRef left
, SFXEventConstRef right
) == の関係を判定します。
|
| Bool |
operator!=(
SFXEventConstRef left
, SFXEventConstRef right
) != の関係を判定します。
|
[ public, explicit ] SFXEvent(Void);
[ public ]
SFXEvent(
SFXEventConstRef param // コピーする SFXEvent
);
[ public, explicit ]
SFXEvent(
AEEEvent type // イベント タイプ
UInt16 p16 // P16 パラメーター
UInt32 p32 // 32 ビット パラメーター
);
[ public, const ] Bool Equals( SFXEventConstRef param // 比較対象となる SFXEvent );
[ public, const ] Bool Equals( AEEEvent type // イベント タイプ UInt16 p16 // 16 ビット イベント パラメーター UInt32 p32 // 32 ビット イベント パラメーター );
[ public, const ] Bool EqualsTypeP16( SFXEventConstRef param // 比較対象となるイベント );
[ public, const ] Bool EqualsTypeP16( AEEEvent type // 比較対象となるイベント タイプ UInt16 p16 // 比較対象となる P16 パラメーター );
[ public, const ] UInt16 GetP16(Void);
[ public, const ] UInt32 GetP32(Void);
[ public, const ] AEEEvent GetType(Void);
[ public, static ] SFXEventConstRef NoneInstance(Void);
コンストラクタの SFXEvent(SFEVT_NONE, 0, 0) と同じ結果を返しますが、NoneInstance 関数の方がより高速に動作します。
[ public ] Void Set( SFXEventConstRef param // コピーする SFXEvent );
[ public ] Void Set( AEEEvent type // イベント タイプ UInt16 p16 // P16 パラメーター UInt32 p32 // 32 ビット パラメーター );
[ public, friend ]
SFXEvent::AtomRec * atomic_cast(
SFXEvent * param // キャストするイベント
);
[ public, friend ]
SFXEvent::AtomRec const * atomic_cast(
SFXEvent const * param // キャストするイベント
);
[ public ] SFXEventRef operator=( SFXEventConstRef param // コピーする SFXEvent );
[ public, friend ] Bool operator==( SFXEventConstRef left // 比較する SFXEvent SFXEventConstRef right // 比較する SFXEvent );
[ public, friend ] Bool operator!=( SFXEventConstRef left // 比較する SFXEvent SFXEventConstRef right // 比較する SFXEvent );
[ public ]
struct AtomRec {
AEEEvent type; // イベント タイプ
UInt16 p16; // P16 パラメーター
UInt32 p32; // 32 ビット パラメーター
};
|
Copyright (C) 2002 - 2008 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|