Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvTransitionHandler Class Referenceabstract

Transition Handler class. More...

#include <ilviews/util/transition.h>

Inheritance diagram for IlvTransitionHandler:
IlvBitmapTransitionHandler

Public Member Functions

virtual void doTransition (IlvTransitionScheduler &scheduler, IlDouble oldRate, IlDouble newRate)=0
 Called by the scheduler to do the transition. More...
 
virtual void startTransition (IlvTransitionScheduler &scheduler)
 Called by the scheduler when starting the transition. More...
 
virtual void stopTransition (IlvTransitionScheduler &scheduler)
 Called by the scheduler when stopping the transition. More...
 

Detailed Description

Transition Handler class.

Library: views

This abstract class is the base class for all transitions handler classes. It provides an interface that manages transitions using a percentage of completion of the transition. The scheduling of the transition handler is managed by the IlvTransitionScheduler class.

See also
IlvTransitionScheduler

Member Function Documentation

◆ doTransition()

virtual void IlvTransitionHandler::doTransition ( IlvTransitionScheduler scheduler,
IlDouble  oldRate,
IlDouble  newRate 
)
pure virtual

Called by the scheduler to do the transition.

Override this method to implement your own transition.

Parameters
schedulerThe scheduler that triggered the transition.
oldRateThe old rate. Valid values are double values in the interval 0-100.
newRateThe new rate. Valid values are double values in the interval 0-100.

Implemented in IlvBitmapTransitionHandler.

◆ startTransition()

virtual void IlvTransitionHandler::startTransition ( IlvTransitionScheduler scheduler)
virtual

Called by the scheduler when starting the transition.

The default implementation does nothing.

Parameters
schedulerThe scheduler that triggered the transition.

Reimplemented in IlvBitmapTransitionHandler.

◆ stopTransition()

virtual void IlvTransitionHandler::stopTransition ( IlvTransitionScheduler scheduler)
virtual

Called by the scheduler when stopping the transition.

The default implementation does nothing.

Parameters
schedulerThe scheduler that triggered the transition.