PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBSignalCBFactory
Wrapper Class for the ISignalCBFactory interface.
#include <SFBSignalCBFactory.h.hpp>
class SFBSignalCBFactory : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBSignalCBFactory)

Inheritance diagram

 Inheritance diagram of SFBSignalCBFactoryClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
X X O O

Reference

BREW API ISignalCBFactory

Member

Public Functions
SFCError CreateSignal( Void (*fn)(VoidPtr cx) fn , VoidPtr cx , SFBSignalSmpPtr signal , SFBSignalCtlSmpPtr control )
Create a signal object that invokes a callback function when set.
static
SFBSignalCBFactorySmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBSignalCBFactory instance.
static
SFBSignalCBFactorySmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBSignalCBFactory instance.
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.

SFBSignalCBFactory::CreateSignal
Create a signal object that invokes a callback function when set.
[ public ]
SFCError CreateSignal(
    Void (*fn)(VoidPtr cx) fn    // pointer to the function to be invoked when signal is set
    VoidPtr cx                   // argument to be passed to the callback when signal is set
    SFBSignalSmpPtr signal       // optional. resulting signal object's SFBSignal
    SFBSignalCtlSmpPtr control   // resulting signal object's SFBSignalCtl class
);

Reference

BREW API ISignalCBFactory_CreateSignal | SFBSignal | SFBSignalCtl


SFBSignalCBFactory::NewInstance
Create a new SFBSignalCBFactory instance.
[ public, static ]
SFBSignalCBFactorySmp NewInstance(
    SFCErrorPtr exception = null   // Error
);
[ public, static ]
SFBSignalCBFactorySmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);