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

%   Copyright 2018 The MathWorks, Inc.    
    properties
        SimulinkFunctionName;
        FullPathToSimulinkFunction;
    end
    
    methods
        
        function this = SlFIAdaptor(aSlFunctionInterface)
            
            assert(isa(aSlFunctionInterface, 'coder.descriptor.SimulinkFunctionInterface'), ...
                'Unexpected class in SlFIAdaptor');
            this = this@rtw.connectivity.FIAdaptor(aSlFunctionInterface);
        end
        
        function res = get.SimulinkFunctionName(this)
            res = this.CodeDescObj.SimulinkFunctionName;
        end
        
        function res = get.FullPathToSimulinkFunction(this)
            res = this.CodeDescObj.FullPathToSimulinkFunction.toArray;
        end
    end
end