FRAMES NO FRAMES

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:

Constructor Summary
public IlcResourceDemon()
public IlcResourceDemon(IlcResourceDemonI * impl)
Method Summary
public IlcResourceDemonI *getImpl() const
public voidoperator=(const IlcResourceDemon & h)
Constructor Detail

IlcResourceDemon

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.

IlcResourceDemon

public IlcResourceDemon(IlcResourceDemonI * impl)
This constructor creates an instance of the handle class from the pointer to an instance of the implementation class.

Method Detail

getImpl

public IlcResourceDemonI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.

operator=

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.