CSmilObject Class Reference

class CSmilObject : public CBase

Inherits from

Nested Classes and Structures

Public Member Functions
~CSmilObject()
TSmilTime ActiveTime()
TInt ActualRepeat()
voidAddConditionL(const TSmilCondition &, TBool)
voidAfterL(MSmilActive *, const TSmilTime &, TBool)
IMPORT_C CSmilAnchor *Anchor()
voidAttachedL()
voidBeginL(const TSmilTime &)
TBool BeginSpecified()
TSmilTime BeginTime()
TSmilTime CalcActiveEnd(TSmilTime)
TSmilTime CalcActiveEnd(TSmilTime, TSmilTime)
TSmilTime CalcIntermediateActiveDuration()
voidCancelActive(MSmilActive *)
TPoint Center()
const TDesC *ClassName()
TSmilTime Duration()
voidEndL(const TSmilTime &)
TBool EndSpecified()
TSmilTime EndTime()
TFill Fill()
CSmilObject *FindNamedObject(const TDesC &)
CSmilObject *FirstChild()
TInterval FirstInterval()
MSmilRegion *GetRegion()
TSmilTime GlobalToLocal(const TSmilTime &)
TBool HasBeginEvent()
TBool HasBeginTime()
TBool HasEndEvent()
TBool HasEndTime()
TBool HasFocus()
TBool HasMoreIntervals()
TPtrC Id()
TSmilTime ImplicitDuration()
voidInitialise()
TBool IsA()
TBool IsArea()
TBool IsExclusive()
TBool IsFocusable()
TBool IsMedia()
TBool IsParallel()
TBool IsPlaying()
TBool IsPrefetch()
TBool IsRepeating()
TBool IsScrollable()
TBool IsSequence()
TBool IsTimeContainer()
TBool IsVisible()
CSmilObject *LastChild()
TSmilTime LocalToGlobal(const TSmilTime &)
TSmilTime Max()
TSmilTime Min()
TSmilTime NextActivation(const TSmilTime &)
CSmilObject *NextAdjacent()
TInterval NextInterval()
CSmilObject *NextSibling()
CSmilObject *NextSibling()
voidNotifyDependents(const TSmilTime &)
CSmilTimeContainer *ParentObject()
TSmilTime ParentSimpleEnd()
CSmilPresentation *Presentation()
CSmilPresentation *Presentation()
CSmilObject *PreviousAdjacent()
CSmilObject *PreviousSibling()
CSmilObject *PreviousSibling()
voidPrintTree(int)
voidProceedL(const TSmilTime &)
voidPropagateEventL(const TSmilEvent &, const TSmilTime &)
voidRecalcInterval(const TSmilTime &)
voidRedraw()
TSmilTime RepeatBeginTime()
TReal32 RepeatCount()
TSmilTime RepeatDur()
voidRepeatL(const TSmilTime &)
voidReset()
voidResolveBeginTimeL(TSmilTime)
voidResolveEndTimeL(TSmilTime)
voidResolveL()
voidResolveL(const TSmilTime &)
voidResolveSimpleDuration()
TRestart Restart()
voidRewindL(const TSmilTime &, const TSmilTime &)
voidSetAnchor(CSmilAnchor *)
voidSetDuration(const TSmilTime &)
voidSetEndTime(const TSmilTime &)
voidSetEndsyncL(TEndsync, const TDesC &)
voidSetFill(TFill)
voidSetFocus(TBool)
voidSetFocusable(TBool)
voidSetIdL(const TDesC &)
voidSetMax(const TSmilTime &)
voidSetMin(const TSmilTime &)
voidSetNextSibling(CSmilObject *)
voidSetParent(CSmilTimeContainer *)
voidSetPaused(TBool)
voidSetPreviousSibling(CSmilObject *)
voidSetRepeatCount(TReal32)
voidSetRepeatDur(TSmilTime)
voidSetRestart(TRestart)
voidSetTitleL(const TDesC &)
TPtrC Title()
voidUnfreeze()
Protected Member Functions
CSmilObject()
voidConstructL(CSmilPresentation *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Protected Attributes
TSmilTime iActiveDuration
TInt iActualRepeat
CSmilAnchor *iAnchor
RPointerArray< TSmilCondition >iBeginConditions
TSmilTimeList iBeginList
TInterval iCurrentInterval
TSmilTime iDuration
RPointerArray< TSmilCondition >iEndConditions
TSmilTimeList iEndList
TFill iFill
TBool iFirstInterval
TBool iForcedRepeat
RSmilTextBuf iId
TSmilTime iMax
TSmilTime iMin
TBool iMinLimited
CSmilObject *iNext
CSmilTimeContainer *iParentObject
TBool iPlaying
CSmilPresentation *iPresentation
CSmilObject *iPrevious
TSmilTime iRepeatBeginTime
TReal32 iRepeatCount
TSmilTime iRepeatDur
TRestart iRestart
TSmilTime iSimpleDuration
RSmilTextBuf iTitle

Constructor & Destructor Documentation

CSmilObject()

CSmilObject()[protected]

C++ default constructor.

~CSmilObject()

~CSmilObject()[virtual]

Destructor.

Member Functions Documentation

ActiveTime()

TSmilTime ActiveTime()

Get the active time of an object.

ActualRepeat()

TInt ActualRepeat()const

AddConditionL(const TSmilCondition &, TBool)

voidAddConditionL(const TSmilCondition &aCondition,
TBoolaBeginCondition
)

Parameters

const TSmilCondition & aCondition
TBool aBeginCondition

AfterL(MSmilActive *, const TSmilTime &, TBool)

voidAfterL(MSmilActive *iActive,
const TSmilTime &aDelay,
TBoolaLazy = EFalse
)

Parameters

MSmilActive * iActive
const TSmilTime & aDelay
TBool aLazy = EFalse

Anchor()

IMPORT_C CSmilAnchor *Anchor()const

Gets anchor object associated with this object.

AttachedL()

voidAttachedL()[virtual]

BeginL(const TSmilTime &)

voidBeginL(const TSmilTime &aTime)[virtual]

Begin an object & generate a begin event.

Parameters

const TSmilTime & aTime

BeginSpecified()

TBool BeginSpecified()

BeginTime()

TSmilTime BeginTime()const

CalcActiveEnd(TSmilTime)

TSmilTime CalcActiveEnd(TSmilTimeaB)

Parameters

TSmilTime aB

CalcActiveEnd(TSmilTime, TSmilTime)

TSmilTime CalcActiveEnd(TSmilTimeaB,
TSmilTimeaEnd
)

Parameters

TSmilTime aB
TSmilTime aEnd

CalcIntermediateActiveDuration()

TSmilTime CalcIntermediateActiveDuration()const

CancelActive(MSmilActive *)

voidCancelActive(MSmilActive *aActive)

Parameters

MSmilActive * aActive

Center()

TPoint Center()const [inline, virtual]

ClassName()

const TDesC *ClassName()const [inline, virtual]

ConstructL(CSmilPresentation *)

voidConstructL(CSmilPresentation *aPresentation)[protected, virtual]

Base-class Constructor.

Parameters

CSmilPresentation * aPresentation

Duration()

TSmilTime Duration()const [inline]

EndL(const TSmilTime &)

voidEndL(const TSmilTime &aTime)[virtual]

End an object & geberate an end event.

Parameters

const TSmilTime & aTime

EndSpecified()

TBool EndSpecified()

EndTime()

TSmilTime EndTime()const

Fill()

TFill Fill()const

FindNamedObject(const TDesC &)

CSmilObject *FindNamedObject(const TDesC &aName)[virtual]

Parameters

const TDesC & aName

FirstChild()

CSmilObject *FirstChild()const [inline, virtual]

FirstInterval()

TInterval FirstInterval()

GetRegion()

MSmilRegion *GetRegion()const [inline, virtual]

GlobalToLocal(const TSmilTime &)

TSmilTime GlobalToLocal(const TSmilTime &aTime)

Parameters

const TSmilTime & aTime

HasBeginEvent()

TBool HasBeginEvent()

Does the object have a begin condition?

HasBeginTime()

TBool HasBeginTime()

Does the object have a resolved begin time.?

HasEndEvent()

TBool HasEndEvent()

HasEndTime()

TBool HasEndTime()

Does the object have a resolved end time?.

HasFocus()

TBool HasFocus()const [inline, virtual]

HasMoreIntervals()

TBool HasMoreIntervals()

Id()

TPtrC Id()const

ImplicitDuration()

TSmilTime ImplicitDuration()const [virtual]

Get the implicit duration of an object.

Initialise()

voidInitialise()

Sets the default timing values of an object.

IsA()

TBool IsA()const [inline, virtual]

IsArea()

TBool IsArea()const [inline, virtual]

IsExclusive()

TBool IsExclusive()const [inline, virtual]

IsFocusable()

TBool IsFocusable()const [inline, virtual]

IsMedia()

TBool IsMedia()const [inline, virtual]

IsParallel()

TBool IsParallel()const [inline, virtual]

IsPlaying()

TBool IsPlaying()const

IsPrefetch()

TBool IsPrefetch()const [inline, virtual]

IsRepeating()

TBool IsRepeating()const

IsScrollable()

TBool IsScrollable()const [inline, virtual]

IsSequence()

TBool IsSequence()const [inline, virtual]

IsTimeContainer()

TBool IsTimeContainer()const [inline, virtual]

IsVisible()

TBool IsVisible()const [inline, virtual]

LastChild()

CSmilObject *LastChild()const [inline, virtual]

LocalToGlobal(const TSmilTime &)

TSmilTime LocalToGlobal(const TSmilTime &aTime)

Parameters

const TSmilTime & aTime

Max()

TSmilTime Max()const [inline]

Min()

TSmilTime Min()const [inline]

NextActivation(const TSmilTime &)

TSmilTime NextActivation(const TSmilTime &aTime)const [virtual]

Parameters

const TSmilTime & aTime

NextAdjacent()

CSmilObject *NextAdjacent()const

NextInterval()

TInterval NextInterval()

NextSibling()

CSmilObject *NextSibling()[inline]

NextSibling()

CSmilObject *NextSibling()const

Returns the next sibling.

NotifyDependents(const TSmilTime &)

voidNotifyDependents(const TSmilTime &aTime)[virtual]

A common "NotifyDependents" function for all timed objects.

Parameters

const TSmilTime & aTime

ParentObject()

CSmilTimeContainer *ParentObject()

ParentSimpleEnd()

TSmilTime ParentSimpleEnd()

Presentation()

CSmilPresentation *Presentation()[inline]

Presentation()

CSmilPresentation *Presentation()const

PreviousAdjacent()

CSmilObject *PreviousAdjacent()const

PreviousSibling()

CSmilObject *PreviousSibling()[inline]

PreviousSibling()

CSmilObject *PreviousSibling()const

Returns the previous sibling.

PrintTree(int)

voidPrintTree(intd = 0)const [virtual]

Parameters

int d = 0

ProceedL(const TSmilTime &)

voidProceedL(const TSmilTime &aTps)[virtual]

A common "proceed" function for all timed objects. Called each time a timed object receives the timing signal.

Parameters

const TSmilTime & aTps

PropagateEventL(const TSmilEvent &, const TSmilTime &)

voidPropagateEventL(const TSmilEvent &aEvent,
const TSmilTime &aTime
)[virtual]

Propagate an event throught the timing tree.

Parameters

const TSmilEvent & aEvent
const TSmilTime & aTime

RecalcInterval(const TSmilTime &)

voidRecalcInterval(const TSmilTime &aTime)

Parameters

const TSmilTime & aTime

Redraw()

voidRedraw()[inline, virtual]

RepeatBeginTime()

TSmilTime RepeatBeginTime()const

RepeatCount()

TReal32 RepeatCount()const

RepeatDur()

TSmilTime RepeatDur()const

RepeatL(const TSmilTime &)

voidRepeatL(const TSmilTime &aTime)[virtual]

Repeat an object.

Parameters

const TSmilTime & aTime

Reset()

voidReset()[virtual]

Reset the timing values of an object.

ResolveBeginTimeL(TSmilTime)

voidResolveBeginTimeL(TSmilTimeaTime)

Parameters

TSmilTime aTime

ResolveEndTimeL(TSmilTime)

voidResolveEndTimeL(TSmilTimeaTime)

Parameters

TSmilTime aTime

ResolveL()

voidResolveL()[inline]

ResolveL(const TSmilTime &)

voidResolveL(const TSmilTime &aTps)[virtual]

Parameters

const TSmilTime & aTps

ResolveSimpleDuration()

voidResolveSimpleDuration()

Restart()

TRestart Restart()const [inline]

RewindL(const TSmilTime &, const TSmilTime &)

voidRewindL(const TSmilTime &aTime,
const TSmilTime &aTo
)[virtual]

Parameters

const TSmilTime & aTime
const TSmilTime & aTo

SetAnchor(CSmilAnchor *)

voidSetAnchor(CSmilAnchor *aReference)

Parameters

CSmilAnchor * aReference

SetDuration(const TSmilTime &)

voidSetDuration(const TSmilTime &aDuration)

Parameters

const TSmilTime & aDuration

SetEndTime(const TSmilTime &)

voidSetEndTime(const TSmilTime &aEndTime)

Parameters

const TSmilTime & aEndTime

SetEndsyncL(TEndsync, const TDesC &)

voidSetEndsyncL(TEndsync,
const TDesC & =  TPtrC()
)[inline, virtual]

Parameters

TEndsync
const TDesC &  =  TPtrC()

SetFill(TFill)

voidSetFill(TFillaFill)[inline]

Parameters

TFill aFill

SetFocus(TBool)

voidSetFocus(TBool)[inline, virtual]

Parameters

TBool

SetFocusable(TBool)

voidSetFocusable(TBool)[inline, virtual]

Parameters

TBool

SetIdL(const TDesC &)

voidSetIdL(const TDesC &aString)

Set the "id" string.

Parameters

const TDesC & aString

SetMax(const TSmilTime &)

voidSetMax(const TSmilTime &aMax)

Parameters

const TSmilTime & aMax

SetMin(const TSmilTime &)

voidSetMin(const TSmilTime &aMin)

Parameters

const TSmilTime & aMin

SetNextSibling(CSmilObject *)

voidSetNextSibling(CSmilObject *aNext)

Set the "next sibling.

Parameters

CSmilObject * aNext

SetParent(CSmilTimeContainer *)

voidSetParent(CSmilTimeContainer *aContainer)

Set the parent object.

Parameters

CSmilTimeContainer * aContainer

SetPaused(TBool)

voidSetPaused(TBool)[inline, virtual]

Parameters

TBool

SetPreviousSibling(CSmilObject *)

voidSetPreviousSibling(CSmilObject *aPrevious)

Set the previous sibling.

Parameters

CSmilObject * aPrevious

SetRepeatCount(TReal32)

voidSetRepeatCount(TReal32aRC)

Set the repeatCount value.

Parameters

TReal32 aRC

SetRepeatDur(TSmilTime)

voidSetRepeatDur(TSmilTimeaRD)

Set the repeatDur value.

Parameters

TSmilTime aRD

SetRestart(TRestart)

voidSetRestart(TRestartaVal)

Parameters

TRestart aVal

SetTitleL(const TDesC &)

voidSetTitleL(const TDesC &aString)

Set the "title" string.

Parameters

const TDesC & aString

Title()

TPtrC Title()const

Unfreeze()

voidUnfreeze()[inline, virtual]

Unfreeze an object.

Member Data Documentation

TSmilTime iActiveDuration

TSmilTime iActiveDuration[protected]

TInt iActualRepeat

TInt iActualRepeat[protected]

CSmilAnchor * iAnchor

CSmilAnchor *iAnchor[protected]

RPointerArray< TSmilCondition > iBeginConditions

RPointerArray< TSmilCondition >iBeginConditions[protected]

TSmilTimeList iBeginList

TSmilTimeList iBeginList[protected]

TInterval iCurrentInterval

TInterval iCurrentInterval[protected]

TSmilTime iDuration

TSmilTime iDuration[protected]

RPointerArray< TSmilCondition > iEndConditions

RPointerArray< TSmilCondition >iEndConditions[protected]

TSmilTimeList iEndList

TSmilTimeList iEndList[protected]

TFill iFill

TFill iFill[protected]

TBool iFirstInterval

TBool iFirstInterval[protected]

TBool iForcedRepeat

TBool iForcedRepeat[protected]

RSmilTextBuf iId

RSmilTextBuf iId[protected]

TSmilTime iMax

TSmilTime iMax[protected]

TSmilTime iMin

TSmilTime iMin[protected]

TBool iMinLimited

TBool iMinLimited[protected]

CSmilObject * iNext

CSmilObject *iNext[protected]

CSmilTimeContainer * iParentObject

CSmilTimeContainer *iParentObject[protected]

TBool iPlaying

TBool iPlaying[protected]

CSmilPresentation * iPresentation

CSmilPresentation *iPresentation[protected]

CSmilObject * iPrevious

CSmilObject *iPrevious[protected]

TSmilTime iRepeatBeginTime

TSmilTime iRepeatBeginTime[protected]

TReal32 iRepeatCount

TReal32 iRepeatCount[protected]

TSmilTime iRepeatDur

TSmilTime iRepeatDur[protected]

TRestart iRestart

TRestart iRestart[protected]

TSmilTime iSimpleDuration

TSmilTime iSimpleDuration[protected]

RSmilTextBuf iTitle

RSmilTextBuf iTitle[protected]