Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: W32STD.H
Link against: ws32.lib

Class TWsGraphicMsgFixedBase

class TWsGraphicMsgFixedBase;

Description

Base class for fixed-size messages to be attached to CWindowGc::DrawWsGraphic commands

Members

Defined in TWsGraphicMsgFixedBase:
Pckg(), Size(), TWsGraphicMsgFixedBase(), TypeId()


Construction and destruction


TWsGraphicMsgFixedBase()

protected: IMPORT_C TWsGraphicMsgFixedBase(TUid aTypeId, TInt aSizeOfDerived);

Description

Protected constructor for subclasses to call Example:

TMyDerivedFixedMsg::TMyDerivedFixedMsg(): TWsGraphicMsgFixedBase(KUidMyDerivedType,sizeof(TMyDerivedFixedMsg)), ...

Parameters

TUid aTypeId

The UID representing this type of data

TInt aSizeOfDerived

[Top]


Member functions


Pckg()

IMPORT_C TPtrC8 Pckg() const;

Description

Return value

TPtrC8

this fixed message as a descriptor so that it can be passed as draw data in the CWindowGc::DrawWsGraphic command directly if only one such message is to be sent


TypeId()

IMPORT_C TUid TypeId() const;

Description

Return value

TUid

the UID identifying the type of the data that follows


Size()

IMPORT_C TInt Size() const;

Description

Return value

TInt

the size of the derived class (not including this fixed base class size)