SophiaFramework UNIVERSE 5.3 |
SFXStream is the base class that represents the stream. For more details, see SFXInputStream and SFXOutputStream as the child of this class.
Constructor/Destructor |
---|
SFXStream( Void ) Constructor of the SFXStream class.
|
~SFXStream( Void ) Destructor of the SFXStream class.
|
Public Functions | |
---|---|
Void |
Cancel( Void ) Cancel to read from / write onto this stream.
|
SFCError |
ResetTrigger( Void ) Reset the trigger condition that the callback function will be booted up.
|
SFCError |
SetTrigger(
UInt32 size
) Set the trigger condition that the callback function will be booted up.
|
SFCError |
SetTrigger(
SFXBufferConstRef buffer
) Set the trigger condition that the callback function will be booted up.
|
SFCError |
SetTrigger(
VoidConstPtr buffer
, UInt32 size
) Set the trigger condition that the callback function will be booted up.
|
Bool |
Triggers( Void ) Check whether or not the callback function is booted up by the trigger condition.
|
Types |
---|
CallbackSPP Type that represents the callback function.
|
[ protected, explicit ] SFXStream(Void);
[ public, pure-virtual ] virtual ~SFXStream(Void);
This function is a pure virtual function.
[ public, pure-virtual ] Void Cancel(Void);
This function is a pure virtual function.
[ public, pure-virtual ] SFCError ResetTrigger(Void);
This function is a pure virtual function.
[ public, pure-virtual ] SFCError SetTrigger( UInt32 size // data size to be read or written through stream );
[ public, pure-virtual ] SFCError SetTrigger( SFXBufferConstRef buffer // SFXBuffer object to be read or written through stream );
[ public, pure-virtual ] SFCError SetTrigger( VoidConstPtr buffer // data to be read or written through stream UInt32 size // data size to be read or written through stream );
This function is a pure virtual function.
[ public, pure-virtual, const ] Bool Triggers(Void);
This function is a pure virtual function.
typedef Void(* SFXStream::CallbackSPP)(SFCError error, VoidPtr reference)
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |