TApaApplicationFactory Class Reference

class TApaApplicationFactory

Encapsulates the functionality of creating an application, whether it be via a factory function or an ECOM plugin. Instances of this class can usually be created implicitly when required as function parameters - just specify the function pointer, ECOM plugin UID or CImplementationInformation reference.

CApaProcess EikStart

Constructor & Destructor Documentation

TApaApplicationFactory()

IMPORT_CTApaApplicationFactory()

Default constructor Constructor for TApaApplicationFactory

TApaApplicationFactory(TFunction)

IMPORT_CTApaApplicationFactory(TFunctionaFunction)

Constructor.

Parameters

TFunction aFunctionThe function from which the application is to be created.

TApaApplicationFactory(const CImplementationInformation &)

IMPORT_CTApaApplicationFactory(const CImplementationInformation &aEmbeddedApplicationInformation)

Constructor. Use this constructor in preference to the constructor taking a "TUid" parameter if at all possible as it is much more efficient.

Parameters

const CImplementationInformation & aEmbeddedApplicationInformationThe ECOM implementation-information of the embedded application to be created.

TApaApplicationFactory(TUid)

IMPORT_CTApaApplicationFactory(TUidaEmbeddedApplicationUid)

Constructor. Use the constructor taking a "const CImplementationInformation&" parameter in preference to this constructor if at all possible as it is much more efficient.

Parameters

TUid aEmbeddedApplicationUidThe ECOM implementation-UID of the embedded application to be created.

Member Functions Documentation

AppFileNameL()

HBufC *AppFileNameL()const

AppFileUid()

TUid AppFileUid()const

CleanupImplementationArray(TAny *)

voidCleanupImplementationArray(TAny *aImplementationArray)[private, static]

Parameters

TAny * aImplementationArray

CreateApplicationL()

CApaApplication *CreateApplicationL()const

CreateEmbeddedApplicationL(TUid)

CApaApplication *CreateEmbeddedApplicationL(TUidaUid)[private, static]

Parameters

TUid aUid

EmbeddedApplicationDisplayNameLC(TUid)

HBufC *EmbeddedApplicationDisplayNameLC(TUidaUid)[private, static]

Parameters

TUid aUid

FullAppFileNameL(const TDesC &)

HBufC *FullAppFileNameL(const TDesC &aAppName)[private, static]

Parameters

const TDesC & aAppName

Member Enumerations Documentation

Enum TType

Enumerators

ETypeFunction
ETypeEmbeddedApplicationInformation
ETypeEmbeddedApplicationUid

Member Type Definitions Documentation

Typedef TFunction

typedef CApaApplication *(*TFunction

Member Data Documentation

CApaApplication * iApplication

CApaApplication *iApplication[private]

TUint iData

TUint iData[private]

TInt iSpare2

TInt iSpare2[private]

TType iType

TType iType[private]