All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

GenericAccuracyProfile (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---GenericAccuracyProfile
 


Interface to manage Generic Accuracy Profile of Robot controller.

Role: This interface provides methods to get/set data related to Accuracy Profile.

Method Index

GetAccuracyType
Get the accuracy type for the profile.
GetAccuracyValue
Retrieves accuracy value of the profile.
GetController
Retrieves controller owning the profile.
GetFlyByMode
Gets On/Off status of Flyby mode.
GetName
Gets name of the Accuracy Profile.
SetAccuracyType
Set the accuracy type for the profile.
SetAccuracyValue
Set accuracy value of the profile.
SetFlyByMode
Switch On/Off Flyby mode.
SetName
Set name of the Accuracy Profile.

Methods


o Sub GetAccuracyType(AccuracyType accuracy)
Get the accuracy type for the profile.
Parameters:
accurancy
accurancy type to get, could be ACCURACY_TYPE_DISTANCE / ACCURACY_TYPE_SPEED
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetAccuracyValue(double value)
Retrieves accuracy value of the profile.
Parameters:
value
This parameter contains accuracy value.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetController(DNBIARobGenericController oController)
Retrieves controller owning the profile.
Parameters:
oController
This parameter contains pointer to controller.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetFlyByMode(boolean oMode)
Gets On/Off status of Flyby mode.
Parameters:
oMode
mode indicating On/Off status.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub GetName(CATBSTR oName)
Gets name of the Accuracy Profile.
Parameters:
oName
Name of the required Accuracy Profile.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetAccuracyType(AccuracyType accuracy)
Set the accuracy type for the profile.
Parameters:
accurancy
accurancy type to set, could be ACCURACY_TYPE_DISTANCE / ACCURACY_TYPE_SPEED
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetAccuracyValue(double value)
Set accuracy value of the profile.
Parameters:
value
This parameter is percentage or absolute value, depending on accurancy type.
Returns:
An HRESULT.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetFlyByMode(boolean iMode)
Switch On/Off Flyby mode.
Parameters:
iMode
mode indicating On/Off status.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
o Sub SetName(CATBSTR iName)
Set name of the Accuracy Profile.
Parameters:
iName
Name of the Accuracy Profile to be set.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .

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