Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Class ProgramPresenterAPI

    ProgramPresenterAPI

    Hierarchy

    • CommonPresenterAPI
      • ProgramPresenterAPI
    Index

    Constructors

    • Creates a new instance of the ProgramPresenterAPI, to allow communication with the surrounding application from within a WebComponent

      Parameters

      • target: EventTargetOrCommChannel

        An EventTarget, provided by PolyScope X

      • selectedNodeId: string

        the id of the currently selected program node

      Returns ProgramPresenterAPI

    Properties

    applicationService: ApplicationService
    builder: TreeBuilder
    dialogService: DialogService
    expressionEditorService: ExpressionEditorService
    framesService: FramesService
    freedriveService: FreedriveService
    functionService: FunctionService
    logMessageService: LogMessageService
    logPerformanceService: LogPerformanceService
    moduleService: ModuleService
    motionProfilesService: MotionProfilesService
    programNodeService: ProgramNodeService
    programService: ProgramService
    programTreeService: ProgramTreeService
    robotInfoService: RobotInfoService
    robotMoveService: RobotMoveService
    robotPositionService: RobotPositionService
    ros2Client: Ros2Client
    safetyService: SafetyService
    scriptFileService: ScriptFileService
    selectedNodeId: string
    settingsService: SettingsService
    snackbarService: SnackbarService
    sourceService: SourceService
    symbolService: SymbolService
    systemService: SystemService
    validationService: ValidationService
    variableService: VariableService

    Methods

    • Creates a URL string for communicating with backend Container Contributions A protocol must be prepended to the string, like 'http://' or 'ws://'

      Parameters

      • vendorID: string

        Id of Vendor as specified in manifest.yaml file

      • urcapID: string

        Id of URCap as specified in manifest.yaml file

      • containerName: string

        Name of Container as specified in manifest.yaml file

      • serviceName: string

        Name of Service as specified by Ingress name in manifest.yaml file

      Returns string

      URL string without protocol.