All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DMAPSInterfaces Interface CATISPPActivity

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---DMAPSInterfaces.CATISPPAbstractActivity
        |
        +---CATISPPActivity
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATISPPActivity

Interface for Physical Activities.

Note: Physical activities are Activities with technological contents, not used for time synchronisation.


Method Index


o AddAttr(CATUnicodeString&,CATSPPAttrKind,CATUnicodeString&)
Adds attribute to an Activity.
o GetAttrList()
Returns the list of Attributes that are managed on an Activity.
o GetAttrValue(CATUnicodeString&)
Returns the value of an Attribute for an Activity.
o GetCalculatedBeginTime()
Returns the Calculated Begin time on an Activity.
o GetCalculatedCycleTime()
Returns the Calculated Cycle time on an Activity.
o GetOperatorLabel()
Returns the label of the operator associated to an Activity.
o GetSpecifiedBeginning()
Returns the Estimated Beginning date on an Activity.
o GetSpecifiedCycleTime()
Returns the Estimated Cycle time on an Activity.
o RemoveAttr(CATUnicodeString&)
Removes attributes to an Activity type.
o SetAttrValue(CATUnicodeString&,CORBAAny&)
Sets the value of an Attribute for an Activity.
o SetCalculatedBeginTime(double)
Sets up the Calculated Begin time on an Activity.
o SetCalculatedCycleTime(double)
Sets up the Calculated Cycle time on an Activity.
o SetSpecifiedBeginning(double)
Sets up the Estimated Beginning date , on an Activity.
o SetSpecifiedCycleTime(double)
Sets up the Estimated Cycle time at iCT, on an Activity.
o TestAttrValue(CATUnicodeString&)
Tests if an Attribute is valuated.

Methods


o AddAttr
public virtual void AddAttr( const CATUnicodeString& iAttributeName,
CATSPPAttrKind AttrType,
const CATUnicodeString& iAttributePromptName=NULL_string) = 0
Adds attribute to an Activity.
Parameters:
iAttributeName
Name of the attribute to add
AttrType
Type of the attribute to add : it may be today a string, an integer or a double
iAttributePromptName
Prompt Name of the attribute to add
o GetAttrList
public virtual CATListValCATUnicodeString* GetAttrList()const = 0
Returns the list of Attributes that are managed on an Activity.
o GetAttrValue
public virtual CORBAAny GetAttrValue( const CATUnicodeString& iAttributeName) const = 0
Returns the value of an Attribute for an Activity.
Parameters:
iAttributeName
the name of the attribute
Returns:
The value of the attribute
o GetCalculatedBeginTime
public virtual double GetCalculatedBeginTime()const = 0
Returns the Calculated Begin time on an Activity.
o GetCalculatedCycleTime
public virtual double GetCalculatedCycleTime()const = 0
Returns the Calculated Cycle time on an Activity.
o GetOperatorLabel
public virtual wchar_t* GetOperatorLabel()const = 0
Returns the label of the operator associated to an Activity.
Returns:
The label of the operator associated to an Activity
o GetSpecifiedBeginning
public virtual double GetSpecifiedBeginning()const = 0
Returns the Estimated Beginning date on an Activity.
o GetSpecifiedCycleTime
public virtual double GetSpecifiedCycleTime()const = 0
Returns the Estimated Cycle time on an Activity.
o RemoveAttr
public virtual void RemoveAttr( const CATUnicodeString& iAttributeName) = 0
Removes attributes to an Activity type.
Parameters:
iAttributeName
Name of the attribute to remove
o SetAttrValue
public virtual void SetAttrValue( const CATUnicodeString& iAttributeName,
const CORBAAny& iValue) = 0
Sets the value of an Attribute for an Activity.
Parameters:
iAttributeName
the name of the attribute to valuate
iValue
the value of the attribute
The only attributes that may be valuated are the ones existing on the related Activity type.
The only attribute type which are managed as of today are :
- string
- integer
- double
o SetCalculatedBeginTime
public virtual void SetCalculatedBeginTime(double iCCT) = 0
Sets up the Calculated Begin time on an Activity.
o SetCalculatedCycleTime
public virtual void SetCalculatedCycleTime(double iCCT) = 0
Sets up the Calculated Cycle time on an Activity.
o SetSpecifiedBeginning
public virtual void SetSpecifiedBeginning(double iBegin) = 0
Sets up the Estimated Beginning date , on an Activity.
Parameters:
iBegin
Estimated Beginning date. By default, at Activity creation, equal to 0.
o SetSpecifiedCycleTime
public virtual void SetSpecifiedCycleTime(double iCT) = 0
Sets up the Estimated Cycle time at iCT, on an Activity.
Role: This time represents a Specification of Cycle Time for the sons of that Activity.
Parameters:
iCT
Estimated Cycle Time.By default, at Activity creation, it is equal to the value set on the related Activity type.
o TestAttrValue
public virtual CATBoolean TestAttrValue( const CATUnicodeString& iAttributeName) = 0
Tests if an Attribute is valuated.
Parameters:
iAttributeName
name of the attribute to test
Returns:
TRUE
if this Attribute is valuated.
FALSE
if this Attribute is NOT valuated.
The only attributes that may be tested are the ones existing on the related Activity type.
The only attribute type which are managed as of today are :
- string
- integer
- double

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

Copyright © 2003, Dassault Systèmes. All rights reserved.