CAlfClientWindow Class Reference

class CAlfClientWindow : public CBase

CAlfClientWindow class

Represents the client side Alf window, corrosponding to a symbian side RWindow Client can create own instance of this class and hold the responsibility of cleaning it.

Posting the drawing commands through this class can hardware accelerate the commands, bypassing the windowserver

Currently functionality of this class is limited to posting the commands. Usage:
        iAlfEnv = CAlfEnv::NewL();
 //Create Client window
 CAlfClientWindow* alfWindow = CAlfClientWindow::NewL(*iEnv, *rWindow);  
 
 //Post drawing commands
 alfWindow->PostCommandsL( command, EComplete );

 //destruction
 delete alfWindow;
 delete iAlfEnv;
       

Inherits from

Constructor & Destructor Documentation

CAlfClientWindow()

CAlfClientWindow ( ) [private]

~CAlfClientWindow()

IMPORT_C ~CAlfClientWindow ( ) [virtual]

Destructor

Member Functions Documentation

ConstructL(CAlfEnv &, RWindow &)

void ConstructL ( CAlfEnv & aEnv,
RWindow & aWindow
) [private]

2nd phase constructor

Parameters

CAlfEnv & aEnv
RWindow & aWindow

NewL(CAlfEnv &, RWindow &)

IMPORT_C CAlfClientWindow * NewL ( CAlfEnv & aEnv,
RWindow & aWindow
) [static]

Constructor

Parameters

CAlfEnv & aEnv Alf Environment
RWindow & aWindow RWindow for which the AlfClientwindow is to to be created

NewLC(CAlfEnv &, RWindow &)

CAlfClientWindow * NewLC ( CAlfEnv & aEnv,
RWindow & aWindow
) [static]

Constructor

Parameters

CAlfEnv & aEnv
RWindow & aWindow

PostCommandsL(TDes8 &, TAlfCommandBufferStatus)

IMPORT_C void PostCommandsL ( TDes8 & aCommandBuffer,
TAlfCommandBufferStatus aStatus
)

Parameters

TDes8 & aCommandBuffer
TAlfCommandBufferStatus aStatus

Member Data Documentation

CAlfEnv * iEnv

CAlfEnv * iEnv [private]

RWindow * iRWindow

RWindow * iRWindow [private]