CASYMainServiceBase Class Reference

class CASYMainServiceBase : public CBase

Pure virtual base class for ASYs, from where ASY are meant to be inherited. ASYProxy creates the instances.

ASYProxy.dll
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CASYMainServiceBase()

IMPORT_C CASYMainServiceBase ( ) [protected]

C++ default constructor.

~CASYMainServiceBase()

IMPORT_C ~CASYMainServiceBase ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(CASYProxyCommsService *)

void ConstructL ( CASYProxyCommsService * aCommsService ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CASYProxyCommsService * aCommsService

NewL(CASYProxyCommsService *, TUid)

CASYMainServiceBase * NewL ( CASYProxyCommsService * aCommsService,
TUid iImplementationUidAsyService
) [static]

Two-phased constructor.

Parameters

CASYProxyCommsService * aCommsService
TUid iImplementationUidAsyService

Session()

IMPORT_C RAccessoryServer & Session ( ) [protected]
Returns reference to Accessory Server created by this thread
Since
S60 3.1

Signal()

IMPORT_C void Signal ( ) [protected]
Signals Accessory Server that ASY implementation is ready to receive commands.
Since
S60 3.1

StartL()

TInt StartL ( ) [pure virtual]
ASY's startup function is called after creating ASY
Since
S60 3.1

Member Data Documentation

CASYProxyCommsService * iCommsService

CASYProxyCommsService * iCommsService [private]

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

TASYThreadGlobalParams iGlobalParams

TASYThreadGlobalParams iGlobalParams [private]