FRAMES NO FRAMES

Class IloTransitionCostObject

Definition file: ilsched/ilotransition.h
Include file: <ilsched/iloscheduler.h>

Transition cost objects in Scheduler Concert Technology depend on the classes IloTransitionCostObjectI and IloTransitionCostObject. The class IloTransitionCostObject is the handle class. An instance of the class IloTransitionCostObject contains a data member (the handle pointer) that points to an instance of the class IloTransitionCostObjectI (the implementation object). If you define a new class of transition cost object with the macro ILOTRANSITIONCOSTOBJECT0, it will define the implementation class together with the corresponding virtual member function IloTransitionCostObjectI::extract, and a member function that returns an instance of the handle class IloTransitionCostObject.

For more information, see Transition Costs.

See Also:

Constructor Summary
public IloTransitionCostObject()
public IloTransitionCostObject(IloTransitionCostObjectI * impl)
Method Summary
public IloTransitionCostObjectI *getImpl() const
public voidsetChanged()
Constructor Detail

IloTransitionCostObject

public IloTransitionCostObject()
This constructor creates an empty handle. You must initialize it before you use it.

IloTransitionCostObject

public IloTransitionCostObject(IloTransitionCostObjectI * impl)
This constructor creates a handle object from a pointer to an implementation object.

Method Detail

getImpl

public IloTransitionCostObjectI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.

setChanged

public void setChanged()

This member function states that the invoking transition cost object has been changed and therefore needs to be re-extracted.