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

Inheritance diagram

 Inheritance diagram of SFBFOTAClass

Version

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

Reference

BREW API IFOTA

Member

Public Functions
SFCError Commit( VoidPtr openType )
Commit the previously written data to the FOTA partition.
SFCError GetStatus( ACharPtr status )
Get the FOTA status information.
static
SFBFOTASmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBFOTA instance.
static
SFBFOTASmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBFOTA instance.
SFCError Open( SInt32 openType )
Open the requested type of FOTA partition.
SFCError Read( VoidPtr buffer , UInt32 size )
Read the requested number of bytes.
SFCError Read( SFXBufferPtr buffer )
Read the requested number of bytes.
SFCError SetStatus( AChar status )
Set the FOTA status information.
SFCError Write( VoidConstPtr buffer , UInt32 size )
Write the requested number of bytes.
SFCError Write( SFXBufferConstRef buffer )
Write the requested number of bytes.
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.

SFBFOTA::Commit
Commit the previously written data to the FOTA partition.
[ public ]
SFCError Commit(
    VoidPtr openType   // corresponds to the openType in Open()
);

Reference

BREW API IFOTA_Commit


SFBFOTA::GetStatus
Get the FOTA status information.
[ public ]
SFCError GetStatus(
    ACharPtr status   // where to put the status
);

Reference

BREW API IFOTA_GetStatus


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

SFBFOTA::Open
Open the requested type of FOTA partition.
[ public ]
SFCError Open(
    SInt32 openType   // type of open
);

Reference

BREW API IFOTA_Open


SFBFOTA::Read
Read the requested number of bytes.
[ public ]
SFCError Read(
    VoidPtr buffer   // buffer to read into
    UInt32 size      // size of the read buffer
);
[ public ]
SFCError Read(
    SFXBufferPtr buffer   // buffer to read into
);

Reference

BREW API IFOTA_Read


SFBFOTA::SetStatus
Set the FOTA status information.
[ public ]
SFCError SetStatus(
    AChar status   // status to be set
);

Reference

BREW API IFOTA_SetStatus


SFBFOTA::Write
Write the requested number of bytes.
[ public ]
SFCError Write(
    VoidConstPtr buffer   // buffer to write from
    UInt32 size           // number of bytes to write
);
[ public ]
SFCError Write(
    SFXBufferConstRef buffer   // buffer to write from
);

Reference

BREW API IFOTA_Write