Class IlcResourceDemon
Definition file: ilsched/schedule.h
Include file: <ilsched/ilsched.h>
An instance of IlcResourceDemon
represents a demon that is
associated with all the resource constraints on a resource. An example is
a demon that is triggered every time the set of successors
of a resource constraint on the resource changes. An instance of
this class can be created by the macro
ILCRESOURCEDEMON
.
See Also:
ILCRESOURCEDEMON, IlcResource
Method Summary |
---|
public IlcResourceDemonI * | getImpl() const |
public void | operator=(const IlcResourceDemon & h) |
public IlcResourceDemon()
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 IlcResourceDemon(IlcResourceDemonI * impl)
This constructor creates an instance of the handle class from the pointer to an instance
of the implementation class.
public IlcResourceDemonI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.
public void operator=(const IlcResourceDemon & 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.