SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | O | O | O |
Public Functions | |
---|---|
SFCError |
Exit(
SInt32 retValue
)
Exit the SFBThread execution.
|
Void |
Free(
VoidPtr ptr
)
De-associate a memory pointer with the lifetime of a SFBThread and frees it.
|
SFXCallbackPtr |
GetResumeCBK( Void )
Return an initialized SFXCallback for resumption of the thread.
|
SInt32 |
HoldRsc(
SFBBaseSmp resource
)
Associate a generic SFBBase pointer with the lifetime of a thread.
|
Void |
Join(
SFXCallbackPtr callback
, SInt32Ptr retVal
)
Schedule a callback to fire when the SFBThread execution ends.
|
VoidPtr |
Malloc(
UInt32 size
)
Allocates memory and associate it with the SFBThread.
|
static SFBThreadSmp |
NewInstance(
SFCErrorPtr exception = null
)
Create a new SFBThread instance.
|
static SFBThreadSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
)
Create a new SFBThread instance.
|
UInt32 |
ReleaseRsc(
SFBBaseSmp resource
)
De-associate a generic SFBBase pointer with the lifetime of a SFBThread, and release the SFBBase.
|
SFCError |
Start(
SInt32 size
, PFNTHREAD notify
, VoidPtr data
)
Start the SFBThread execution.
|
SFCError |
Stop( Void )
Stop the SFBThread execution.
|
Void |
Suspend( Void )
Suspend the SFBThread execution.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFXCallbackPtr GetResumeCBK(Void);
[ public ] SInt32 HoldRsc( SFBBaseSmp resource // SFBBase interface to associate );
[ public ] Void Join( SFXCallbackPtr callback // where to call when the thread is done SInt32Ptr retVal // pointer to be filled with the SFBThread's return value );
[ public, static ] SFBThreadSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBThreadSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] UInt32 ReleaseRsc( SFBBaseSmp resource // SFBBase interface to free );
[ public ] SFCError Start( SInt32 size // number of bytes to allocate for the SFBThread's stack PFNTHREAD notify // the SFBThread start function, what is called when the SFBThread begins execution VoidPtr data // the argument to the notify );
[ public ] SFCError Stop(Void);
[ public ] Void Suspend(Void);
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |