Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32STD.H>

Class TWsGraphicMsgFixedBase

class TWsGraphicMsgFixedBase;

Description

Base class for fixed-size messages to be attached to CWindowGc::DrawWsGraphic(const TWsGraphicId &,const TRect &) commands

Members

Defined in TWsGraphicMsgFixedBase:


Construction and destruction


TWsGraphicMsgFixedBase(TUid,TInt)

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()const

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(const TWsGraphicId &,const TRect &) command directly if only one such message is to be sent


TypeId()const

IMPORT_C TUid TypeId() const;

Description

Return value

TUid

the UID identifying the type of the data that follows


Size()const

IMPORT_C TInt Size() const;

Description

Return value

TInt

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