classdef (Hidden = true) AutosarCCAdaptor < rtw.connectivity.BaseAdaptor
% AutosarCCAdaptor - Adaptor class from coder.descriptor.AutosarClientCall 
% to RTW.AutosarClientCall
%
%   This is an undocumented class. Its methods and properties are likely to
%   change without warning from one release to the next.

%   Copyright 2018-2019 The MathWorks, Inc.    

    properties
        SID;
        PortName;
        InterfacePath;
        Prototype;
        Timing;
        VariantInfo;
        SimulinkFunctionName;
        FullPathToSimulinkFunction;
    end
    
    methods
        
        function this = AutosarCCAdaptor(aAutosarClientCall)
            
            assert(isa(aAutosarClientCall, 'coder.descriptor.AutosarClientCall'), ...
                'Unexpected class in AutosarCCAdaptor');
            this.CodeDescObj = aAutosarClientCall;
        end
        
        function res = get.SID(this)
            res = this.CodeDescObj.SID;
        end
        
        function res = get.PortName(this)
            res = this.CodeDescObj.PortName;
        end
        
        function res = get.InterfacePath(this)
            res = this.CodeDescObj.InterfacePath;
        end
        
        function res = get.Prototype(this)
            res = this.CodeDescObj.Prototype;
        end
        
        function res = get.Timing(this)
            res = this.CodeDescObj.Timing;
        end
        
        function res = get.VariantInfo(this)
            res = this.CodeDescObj.VariantInfo;
        end
        
        function res = get.SimulinkFunctionName(this)
            res = this.CodeDescObj.SimulinkFunctionName;
        end
        
        function res = get.FullPathToSimulinkFunction(this)
            res = this.CodeDescObj.FullPathToSimulinkFunction.toArray;
        end
    end
end
