Class ProgramPresenterAPI

ProgramPresenterAPI

Hierarchy

  • CommonPresenterAPI
    • ProgramPresenterAPI

Constructors

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

    Parameters

    • target: EventTarget

      An EventTarget, provided by PolyScope X

    • selectedNodeId: string

      the Id of the current program node

    Returns ProgramPresenterAPI

Properties

applicationService: ApplicationService
builder: TreeBuilder
dialogService: DialogService
logMessageService: LogMessageService
logPerformanceService: LogPerformanceService
programNodeService: ProgramNodeService
programTreeService: ProgramTreeService
robotInfoService: RobotInfoService
robotMoveService: RobotMoveService
robotPositionService: RobotPositionService
ros2Client: Ros2Client
safetyService: SafetyService
selectedNodeId: string
settingsService: SettingsService
snackbarService: SnackbarService
sourceService: SourceService
symbolService: SymbolService
validationService: ValidationService

Methods

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

    Returns

    URL string without protocol.

    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

Generated using TypeDoc