classdef XCP < target.Object

    properties (Dependent)
        XCPPlatformAbstraction target.XCPPlatformAbstraction {mustBeScalarOrEmpty}
        XCPTransport target.XCPTransport {mustBeScalarOrEmpty}
    end

    methods

        function value = get.XCPPlatformAbstraction(this)
            value = this.wrapValue(this.InnerInstance.XCPPlatformAbstraction);
        end

        function set.XCPPlatformAbstraction(this, value)
            this.InnerInstance.XCPPlatformAbstraction = this.unwrapValue(value, this.InnerInstance.XCPPlatformAbstraction);
        end

        function value = get.XCPTransport(this)
            value = this.wrapValue(this.InnerInstance.XCPTransport);
        end

        function set.XCPTransport(this, value)
            this.InnerInstance.XCPTransport = this.unwrapValue(value, this.InnerInstance.XCPTransport);
        end
    end

    methods (Static, Access = protected)

        function name = getQualifiedName()
            name = "target.XCP";
        end

        function name = getQualifiedInnerName()
            name = "target.internal.XCP";
        end
    end
end

%   Copyright 2021-2022 The MathWorks, Inc.