![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |
The SFXCallback class is used to set or get the parameters of a callback function, or check its registration status.
| Constructor/Destructor |
|---|
|
SFXCallback( Void ) Constructor of SFXCallback class.
|
|
~SFXCallback( Void ) Destructor of SFXCallback class.
|
| Public Functions | |
|---|---|
| Void |
Cancel( Void ) Cancel the callback function.
|
| static SFXCallbackConstRef |
EmptyInstance( Void ) Get an empty instance of the SFXCallback class.
|
| CallbackSPP |
GetProcedure( Void ) Get the callback function to be set.
|
| VoidPtr |
GetReference( Void ) Get the user data to be set.
|
| Bool |
IsQueued( Void ) Check whether the callback function is registered or not.
|
| Void |
Set(
CallbackSPP spp
, VoidPtr reference
) Set the necessary information regarding a callback.
|
| AEECallback * |
interface_cast(
SFXCallback * param
) Convert SFXCallback into AEECallback.
|
| AEECallback const * |
interface_cast(
SFXCallback const * param
) Convert SFXCallback into AEECallback.
|
| Types |
|---|
|
CallbackSPP Type of the callback function.
|
| Global Functions | |
|---|---|
| AEECallback * |
interface_cast(
SFXCallback * param
) Convert SFXCallback into AEECallback.
|
| AEECallback const * |
interface_cast(
SFXCallback const * param
) Convert SFXCallback into AEECallback.
|
[ public, explicit ] SFXCallback(Void);
[ public ] ~SFXCallback(Void);
Registered callback function is canceled in the destructor.
[ public ] Void Cancel(Void);
If no callback function is registered, nothing happens.
[ public, static ] SFXCallbackConstRef EmptyInstance(Void);
Get an instance that represents an empty callback.
[ public, const ] CallbackSPP GetProcedure(Void);
Return the set callback function.
[ public, const ] VoidPtr GetReference(Void);
Return the set user data.
[ public, const ] Bool IsQueued(Void);
[ public, friend ] AEECallback * interface_cast( SFXCallback * param // callback to cast );
[ public, friend ] AEECallback const * interface_cast( SFXCallback const * param // callback to cast );
typedef Void(* SFXCallback::CallbackSPP)(VoidPtr reference)
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|