| Overview | Group | Tree | Graph | Index | Concepts |

An instance of IlcRCTexture represents an individual texture
curve for one resource constraint instance.
Individual curves for each resource constraint that can possibly be on a
resource are aggregated to form aggregate curves represented by the
IlcResourceTexture class.
For more information, see Texture Measurements.
See Also:
IlcRCTextureIterator, IlcResourceTexture, IlcRCTextureI, IlcRCTextureFactoryI
| Method Summary | |
|---|---|
public IlcFloat | getCriticalContribution() const |
public IlcResourceConstraint | getResourceConstraint() const |
public IlcFloat | getTargetStart() const |
public IlcBool | hasAlternatives() const |
public void | setNeedToRecomputeCurve() |
public void | setTargetStart(IlcFloat t) const |
| Method Detail |
|---|
This member function returns the amount that this individual curve contributes to the aggregate curve at the critical time point.
This member function returns the resource constraint associated with the individual curve.
This member function returns the target start time as set by the
IlcRCTexture::setTargetStart member function. If no target start
time has been set, IlcFloatMin is returned.
This member function returns IlcTrue if the associated
resource constraint does not necessarily have to be true. That is,
it returns IlcTrue if the resource constraint is either part of
an alternative resource constraint or the resource constraint is part of a
meta-constraint. Otherwise, the function returns IlcFalse.
This member function forces the individual curve to be recomputed the
next time the aggregate curve is updated. This function does not have to be
explicitly called if the need to recompute the curve arises from changes to
variables associated with the resource constraint or activity or to the
target start time. Rather, this function is provided for the case where the
individual texture curve is based on external user-defined data. When such
data is "manually" changed, the IlcRCTexture object
must be informed of the need to recompute the curve. Note that using this
function generally implies that you have redefined the IlcRCTextureI::updateDataPoints method in your user-defined subclass of
IlcRCTextureI.
This member function allows the setting of the target start time for an
instance of IlcRCTexture. The target start time of an
IlcRCTexture is the preferred start time of the corresponding
activity derived by some external source (such as user preferences or a
cooperating solver). The target start time is relevant only if the
implementation class (a subclass of IlcRCTextureI) of the invoking object calculates the
individual curve using the target. Of the predefined subclasses, only
IlcRCTextureTargetI uses the target start
time. User-defined subclasses of IlcRCTexture may form their
individual curve using the target start time