Class IlcAltRCDemon
Definition file: ilsched/altresh.h
Include file: <ilsched/ilsched.h>
An instance of IlcAltRCDemon
represents a demon that is
associated with all the possible resources on an alternative resource
constraint. To attach the demon on the instance of
IlcAltResConstraint
, use the member
function IlcAltResConstraint::whenRange
. The demon is
trigerred each time a change in the ranges of a possible alternative
happens: that is, a change in the start, end, duration, processing time, or the
capacity range. An instance of this class can be created with the
macro ILCALTRCDEMON
.
See Also:
ILCALTRCDEMON, IlcAltResConstraint
Method Summary |
---|
public IlcAltRCDemonI * | getImpl() const |
public void | operator=(const IlcAltRCDemon & h) |
public IlcAltRCDemon()
This constructor creates an instance which is empty, that is, one whose handle pointer is null.
You must assign it a value before you access it. Any attempt to access it before assignment leads to undefined behaviour.
public IlcAltRCDemon(IlcAltRCDemonI * impl)
This constructor creates an instance of the handle class from the pointer to an instance
of the implementation class.
public IlcAltRCDemonI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.
public void operator=(const IlcAltRCDemon & h)
This operator assigns an address to the handle pointer of the invoking object. That address is
the location of the implementation object of the provided argument. After execution of this operator,
the invoking object and the provided argument point to the same implementation object.