rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTransitionHandler Class Reference

Transition Handler class. More...

#include <ilviews/util/transition.h>

Inheritance diagram for IlvTransitionHandler:
IlvBitmapTransitionHandler

List of all members.

Public Member Functions

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

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

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:
scheduler The scheduler that triggered the transition.
oldRate The old rate. Valid values are double values in the interval 0-100.
newRate The new rate. Valid values are double values in the interval 0-100.

Implemented in IlvBitmapTransitionHandler.

virtual void IlvTransitionHandler::startTransition ( IlvTransitionScheduler scheduler  )  [virtual]

Called by the scheduler when starting the transition.

The default implementation does nothing.

Parameters:
scheduler The scheduler that triggered the transition.

Reimplemented in IlvBitmapTransitionHandler.

virtual void IlvTransitionHandler::stopTransition ( IlvTransitionScheduler scheduler  )  [virtual]

Called by the scheduler when stopping the transition.

The default implementation does nothing.

Parameters:
scheduler The scheduler that triggered the transition.

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.