FRAMES NO FRAMES

Class IlcRCTextureTargetFactoryI

Definition file: ilsched/texturei.h
Include file: <ilsched/ilsched.h>

IlcRCTextureTargetFactoryI is an implementation object that allocates instances of IlcRCTextureTargetI.

For more information, see Texture Measurements.

See Also:

Constructor and Destructor Summary
public IlcRCTextureTargetFactoryI(IloSolver solver)
Method Summary
public virtual IlcRCTexturecreateRCTexture(IlcResourceConstraint, IlcResourceTexture) const
Inherited Methods from IlcRCTextureESTFactoryI
createRCTexture
Inherited Methods from IlcRCTextureFactoryI
createRCTexture, getSolver, hasRealZeroCriticality
Constructor and Destructor Detail

IlcRCTextureTargetFactoryI

public IlcRCTextureTargetFactoryI(IloSolver solver)

This constructor creates an instance of IlcRCTextureTargetFactoryI.


Method Detail

createRCTexture

public virtual IlcRCTexture createRCTexture(IlcResourceConstraint, IlcResourceTexture) const

This method returns a pointer to a newly allocated instance of IlcRCTexture representing the individual curve of the resource constraint for the resource associated with the resource texture.

Example

The createRCTexture() method could be written as follows:


 IlcRCTexture
 IlcRCTextureTargetFactoryI::createRCTexture(IlcResourceConstraint rct,
 		   IlcResourceTexture texture) const {
   IloSolver solver = getSolver();
   return new (solver.getHeap())
     IlcRCTextureTargetI(solver, rct, texture);
 }