File

src/models/waveform/waveform-sad.ts

Description

Serializable REDHAWK Waveform SAD model (i.e., a reference to an available Waveform/Application that can be launched).

Implements

ISerializable

Index

Properties
Methods

Methods

deserialize
deserialize(input: any)

Deserializes a JSON object into this class

Parameters :
Name Type Optional Description
input any
Returns : this

Properties

Public name
name: string
Type : string

Name of the Waveform for use with the DomainService

Public sad
sad: string
Type : string

The SAD location in the Domain's SCA File System FileSystemService

import { ISerializable } from '../serialization/index';

/**
 * Serializable REDHAWK Waveform SAD model (i.e., a reference to an 
 * available Waveform/Application that can be launched).
 */
export class WaveformSAD implements ISerializable<WaveformSAD> {
    /** Name of the Waveform for use with the {@link DomainService#launch$} */
    public name: string;
    /** The SAD location in the Domain's SCA File System {@link FileSystemService} */
    public sad: string;

    /** Deserializes a JSON object into this class */
    deserialize(input: any) {
        this.name = input.name;
        this.sad = input.sad;
        return this;
    }
}

results matching ""

    No results matching ""