Top | ![]() |
![]() |
![]() |
![]() |
gint | lag | Read / Write |
MrpTask * | predecessor | Read / Write / Construct Only |
MrpTask * | successor | Read / Write / Construct Only |
MrpRelationType | type | Read / Write |
A predecessor relation is used to affect the scheduling of a task relative another task. A relation may have a lag time associated to it, so that a task can be scheduled to start after another task has finished, plus a lag time.
MrpTask *
mrp_relation_get_predecessor (MrpRelation *relation
);
Retrieves the predecessor of relation
.
MrpTask *
mrp_relation_get_successor (MrpRelation *relation
);
Retrieves the successor of relation
.
gint
mrp_relation_get_lag (MrpRelation *relation
);
Retrieves the lag between the predecessor and successor in relation
.
MrpRelationType
mrp_relation_get_relation_type (MrpRelation *relation
);
Retrieves the relation type of relation
.
struct MrpRelation;
Object representing a predecessor relation between two tasks.
“lag”
property“lag” gint
Lag between the predecessor and successor.
Owner: MrpRelation
Flags: Read / Write
Allowed values: >= -2147483647
Default value: 0
“predecessor”
property“predecessor” MrpTask *
The predecessor in the relation.
Owner: MrpRelation
Flags: Read / Write / Construct Only
“successor”
property“successor” MrpTask *
The successor in the relation.
Owner: MrpRelation
Flags: Read / Write / Construct Only
“type”
property“type” MrpRelationType
The type of relation.
Owner: MrpRelation
Flags: Read / Write
Default value: MRP_RELATION_FS
“changed”
signalvoid user_function (MrpRelation *relation, gpointer user_data)
emitted when relation
changes.
Flags: Run Last