DELPPRSystemItf Interface DELIPPRSystemTimeConstrNav

Usage: you must use this class as is. You should never derive it.


interface DELIPPRSystemTimeConstrNav



Method Index


o GetConstrainedOperationsList(CATIPLMNavOccurrence*,CATListPtrCATIPLMNavOccurrence&,CATListOfDouble&)
Retrieves the list of occurrences of Operations that the given occurrence of Operation is constraining.
o GetConstrainingOperationsList(CATIPLMNavOccurrence*,CATListPtrCATIPLMNavOccurrence&,CATListOfDouble&)
Retrieves the list of occurrences of Operations that constrains the given occurrence of Operation.
o GetTimeConstraintInfo(CATIPLMNavOccurrence*,CATIPLMNavOccurrence*,DELIPPRSystemTimeConstrNav::ConstraintType&,double&)
Retrieve information on a given Time Constraint.

Enumerated Type Index


o ConstraintType
Definition the available constraint types.

Methods


o GetConstrainedOperationsList
public virtual GetConstrainedOperationsList( iOperationSourceOcc,
oTargetsOccList,
oDelaysList)
Retrieves the list of occurrences of Operations that the given occurrence of Operation is constraining.
Parameters:
OperationSourceOcc
The constraining Occ. of Operation.
oTargetsOccList
The list of Constrained occurrences of Operation
oDelaysList
The list of associated delays (attribute of the constraint)
Returns:
Legal values:
  • S_OK : The method successfully ended (even if the list is empty).
  • E_FAIL : An error occurred.
o GetConstrainingOperationsList
public virtual GetConstrainingOperationsList( iOperationTargetOcc,
oSourcesOccList,
oDelaysList)
Retrieves the list of occurrences of Operations that constrains the given occurrence of Operation.
Parameters:
OperationTargetOcc
The constrained Occurrence of Operation.
oSourcesOccList
The list of Constraining occurrences of Operation
oDelaysList
The list of associated delays (attribute of the constraint)
Returns:
Legal values:
  • S_OK : The method successfully ended (even if the list is empty).
  • E_FAIL : An error occurred.
o GetTimeConstraintInfo
public virtual GetTimeConstraintInfo( iOperationSourceOcc,
iOperationTargetOcc,
oConstraintType,
oDelay)
Retrieve information on a given Time Constraint. If the constraint does not exist, the returned type and delay will be set to Undefined & 0. .
Parameters:
OperationSourceOcc
The the Source Operation Occurrence of the constraint AVOIDING instances of Production System.
OperationTargetOcc
The Target Operation Occurrence of the constraint AVOIDING instances of Production System.
iConstraintType
Set the type of Time Constraint to create.
oDelay
The returned Constraint Delay (positive or negative) ( = 0. if there is no Constraint).
Returns:
Legal values:
  • S_OK : The method successfully ended.
  • S_FALSE : The constraint does not exist.
  • E_FAIL : An error occurred.

Enumerated Types


o ConstraintType
enum ConstraintType {
  FinishToStart,
  StartToStart,
  FinishToFinish,
  MaterialNeed
}
Definition the available constraint types.
Parameters:
FinishToStart
Finish To Start. Classic Precedence
StartToStart
Start To Start. Start Together
FinishToFinish
Finish To Finish. Finish Together
MaterialNeed
MaterialNeed is a FinishToStart constraint seen also as a material flow

This object is included in the file: DELIPPRSystemTimeConstrNav.h
If needed, your Imakefile.mk should include the module: DELPPRSystemItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.