TWsGraphicMsgFixedBase Class Reference

#include <w32std.h>

class TWsGraphicMsgFixedBase
Public Member Functions
IMPORT_C TPtrC8Pckg()
IMPORT_C TIntSize()
IMPORT_C TUidTypeId()
Protected Member Functions
TWsGraphicMsgFixedBase(TUid, TInt)

Detailed Description

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

Constructor & Destructor Documentation

TWsGraphicMsgFixedBase ( TUid, TInt )

IMPORT_CTWsGraphicMsgFixedBase(TUidaTypeId,
TIntaSizeOfDerived
)[protected]
Protected constructor for subclasses to call Example:
TMyDerivedFixedMsg::TMyDerivedFixedMsg(): TWsGraphicMsgFixedBase(KUidMyDerivedType,sizeof(TMyDerivedFixedMsg)), ...
ParameterDescription
aTypeIdThe UID representing this type of data

Member Function Documentation

Pckg ( )

IMPORT_C TPtrC8Pckg()const

Returns: 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

Size ( )

IMPORT_C TIntSize()const

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

TypeId ( )

IMPORT_C TUidTypeId()const

Returns: the UID identifying the type of the data that follows