CSmilObject Class Reference

class CSmilObject : public CBase

Inherits from

Nested Classes and Structures

Public Member Functions
~CSmilObject ()
TSmilTime ActiveTime ()
TInt ActualRepeat ()
void AddConditionL (const TSmilCondition &, TBool )
void AfterL ( MSmilActive *, const TSmilTime &, TBool )
IMPORT_C CSmilAnchor * Anchor ()
void AttachedL ()
void BeginL (const TSmilTime &)
TBool BeginSpecified ()
TSmilTime BeginTime ()
TSmilTime CalcActiveEnd ( TSmilTime )
TSmilTime CalcActiveEnd ( TSmilTime , TSmilTime )
TSmilTime CalcIntermediateActiveDuration ()
void CancelActive ( MSmilActive *)
TPoint Center ()
const TDesC * ClassName ()
TSmilTime Duration ()
void EndL (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 ()
void Initialise ()
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 ()
void NotifyDependents (const TSmilTime &)
CSmilTimeContainer * ParentObject ()
TSmilTime ParentSimpleEnd ()
CSmilPresentation * Presentation ()
CSmilPresentation * Presentation ()
CSmilObject * PreviousAdjacent ()
CSmilObject * PreviousSibling ()
CSmilObject * PreviousSibling ()
void PrintTree (int)
void ProceedL (const TSmilTime &)
void PropagateEventL (const TSmilEvent &, const TSmilTime &)
void RecalcInterval (const TSmilTime &)
void Redraw ()
TSmilTime RepeatBeginTime ()
TReal32 RepeatCount ()
TSmilTime RepeatDur ()
void RepeatL (const TSmilTime &)
void Reset ()
void ResolveBeginTimeL ( TSmilTime )
void ResolveEndTimeL ( TSmilTime )
void ResolveL ()
void ResolveL (const TSmilTime &)
void ResolveSimpleDuration ()
TRestart Restart ()
void RewindL (const TSmilTime &, const TSmilTime &)
void SetAnchor ( CSmilAnchor *)
void SetDuration (const TSmilTime &)
void SetEndTime (const TSmilTime &)
void SetEndsyncL ( TEndsync , const TDesC &)
void SetFill ( TFill )
void SetFocus ( TBool )
void SetFocusable ( TBool )
void SetIdL (const TDesC &)
void SetMax (const TSmilTime &)
void SetMin (const TSmilTime &)
void SetNextSibling ( CSmilObject *)
void SetParent ( CSmilTimeContainer *)
void SetPaused ( TBool )
void SetPreviousSibling ( CSmilObject *)
void SetRepeatCount ( TReal32 )
void SetRepeatDur ( TSmilTime )
void SetRestart ( TRestart )
void SetTitleL (const TDesC &)
TPtrC Title ()
void Unfreeze ()
Protected Member Functions
CSmilObject ()
void ConstructL ( 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)

void AddConditionL ( const TSmilCondition & aCondition,
TBool aBeginCondition
)

Parameters

const TSmilCondition & aCondition
TBool aBeginCondition

AfterL(MSmilActive *, const TSmilTime &, TBool)

void AfterL ( MSmilActive * iActive,
const TSmilTime & aDelay,
TBool aLazy = EFalse
)

Parameters

MSmilActive * iActive
const TSmilTime & aDelay
TBool aLazy = EFalse

Anchor()

IMPORT_C CSmilAnchor * Anchor ( ) const

Gets anchor object associated with this object.

AttachedL()

void AttachedL ( ) [virtual]

BeginL(const TSmilTime &)

void BeginL ( 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 ( TSmilTime aB )

Parameters

TSmilTime aB

CalcActiveEnd(TSmilTime, TSmilTime)

TSmilTime CalcActiveEnd ( TSmilTime aB,
TSmilTime aEnd
)

Parameters

TSmilTime aB
TSmilTime aEnd

CalcIntermediateActiveDuration()

TSmilTime CalcIntermediateActiveDuration ( ) const

CancelActive(MSmilActive *)

void CancelActive ( MSmilActive * aActive )

Parameters

MSmilActive * aActive

Center()

TPoint Center ( ) const [inline, virtual]

ClassName()

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

ConstructL(CSmilPresentation *)

void ConstructL ( CSmilPresentation * aPresentation ) [protected, virtual]

Base-class Constructor.

Parameters

CSmilPresentation * aPresentation

Duration()

TSmilTime Duration ( ) const [inline]

EndL(const TSmilTime &)

void EndL ( 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()

void Initialise ( )

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 &)

void NotifyDependents ( 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)

void PrintTree ( int d = 0 ) const [virtual]

Parameters

int d = 0

ProceedL(const TSmilTime &)

void ProceedL ( 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 &)

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

Propagate an event throught the timing tree.

Parameters

const TSmilEvent & aEvent
const TSmilTime & aTime

RecalcInterval(const TSmilTime &)

void RecalcInterval ( const TSmilTime & aTime )

Parameters

const TSmilTime & aTime

Redraw()

void Redraw ( ) [inline, virtual]

RepeatBeginTime()

TSmilTime RepeatBeginTime ( ) const

RepeatCount()

TReal32 RepeatCount ( ) const

RepeatDur()

TSmilTime RepeatDur ( ) const

RepeatL(const TSmilTime &)

void RepeatL ( const TSmilTime & aTime ) [virtual]

Repeat an object.

Parameters

const TSmilTime & aTime

Reset()

void Reset ( ) [virtual]

Reset the timing values of an object.

ResolveBeginTimeL(TSmilTime)

void ResolveBeginTimeL ( TSmilTime aTime )

Parameters

TSmilTime aTime

ResolveEndTimeL(TSmilTime)

void ResolveEndTimeL ( TSmilTime aTime )

Parameters

TSmilTime aTime

ResolveL()

void ResolveL ( ) [inline]

ResolveL(const TSmilTime &)

void ResolveL ( const TSmilTime & aTps ) [virtual]

Parameters

const TSmilTime & aTps

ResolveSimpleDuration()

void ResolveSimpleDuration ( )

Restart()

TRestart Restart ( ) const [inline]

RewindL(const TSmilTime &, const TSmilTime &)

void RewindL ( const TSmilTime & aTime,
const TSmilTime & aTo
) [virtual]

Parameters

const TSmilTime & aTime
const TSmilTime & aTo

SetAnchor(CSmilAnchor *)

void SetAnchor ( CSmilAnchor * aReference )

Parameters

CSmilAnchor * aReference

SetDuration(const TSmilTime &)

void SetDuration ( const TSmilTime & aDuration )

Parameters

const TSmilTime & aDuration

SetEndTime(const TSmilTime &)

void SetEndTime ( const TSmilTime & aEndTime )

Parameters

const TSmilTime & aEndTime

SetEndsyncL(TEndsync, const TDesC &)

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

Parameters

TEndsync
const TDesC &  =  TPtrC ()

SetFill(TFill)

void SetFill ( TFill aFill ) [inline]

Parameters

TFill aFill

SetFocus(TBool)

void SetFocus ( TBool ) [inline, virtual]

Parameters

TBool

SetFocusable(TBool)

void SetFocusable ( TBool ) [inline, virtual]

Parameters

TBool

SetIdL(const TDesC &)

void SetIdL ( const TDesC & aString )

Set the "id" string.

Parameters

const TDesC & aString

SetMax(const TSmilTime &)

void SetMax ( const TSmilTime & aMax )

Parameters

const TSmilTime & aMax

SetMin(const TSmilTime &)

void SetMin ( const TSmilTime & aMin )

Parameters

const TSmilTime & aMin

SetNextSibling(CSmilObject *)

void SetNextSibling ( CSmilObject * aNext )

Set the "next sibling.

Parameters

CSmilObject * aNext

SetParent(CSmilTimeContainer *)

void SetParent ( CSmilTimeContainer * aContainer )

Set the parent object.

Parameters

CSmilTimeContainer * aContainer

SetPaused(TBool)

void SetPaused ( TBool ) [inline, virtual]

Parameters

TBool

SetPreviousSibling(CSmilObject *)

void SetPreviousSibling ( CSmilObject * aPrevious )

Set the previous sibling.

Parameters

CSmilObject * aPrevious

SetRepeatCount(TReal32)

void SetRepeatCount ( TReal32 aRC )

Set the repeatCount value.

Parameters

TReal32 aRC

SetRepeatDur(TSmilTime)

void SetRepeatDur ( TSmilTime aRD )

Set the repeatDur value.

Parameters

TSmilTime aRD

SetRestart(TRestart)

void SetRestart ( TRestart aVal )

Parameters

TRestart aVal

SetTitleL(const TDesC &)

void SetTitleL ( const TDesC & aString )

Set the "title" string.

Parameters

const TDesC & aString

Title()

TPtrC Title ( ) const

Unfreeze()

void Unfreeze ( ) [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]