FRAMES NO FRAMES

Class IloRCTextureFactoryI

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

RC Texture factories in Scheduler Concert Technology depend on the classes IloRCTextureFactoryI and IloRCTextureFactory. The class IloRCTextureFactoryI is the implementation class. If you define a new class of factory with the macro ILORCTEXTUREFACTORY0, it will define this implementation class together with the corresponding virtual member function IloRCTextureFactoryI::extract, and with a member function that returns an instance of the handle class IloRCTextureFactory.

For more information, see Texture Measurements.

See Also:

Method Summary
public virtual IlcRCTextureFactoryI *extract(const IloSolver & solver) const
protected voiduse(const IloSolver &, const IloExtractable &) const
Method Detail

extract

public virtual IlcRCTextureFactoryI * extract(const IloSolver & solver) const

This virtual function implements the extraction of the invoking factory into an IlcRCTextureFactoryI* by the solver given as argument. Note that this member function must be defined by using the macro ILORCTEXTUREFACTORY0.


use

protected void use(const IloSolver &, const IloExtractable &) const

This member function can only be called from within the member function IloRCTextureFactoryI::extract (that is, only in the code of a macro ILORCTEXTUREFACTORY0). It states that the invoking factory currently in the process of being extracted by the solver given as argument uses the extractable given as the second argument. As a consequence, the extractable given as the second argument will be immediately extracted by the solver.