classdef AutosarInterfacesOwnerAccessor < rtw.pil.OwnerAccessor
%AUTOSARINTERFACESOWNERACCESSOR mocks-up access to the *Owner property of
% various AUTOSAR TargetRegions
%
%   This is an undocumented class. Its methods and properties are likely to
%   change without warning from one release to the next.

%   Copyright 2020 The MathWorks, Inc.
    
    
    methods(Access = {?rtw.pil.OwnerAccessor})
        function this = AutosarInterfacesOwnerAccessor(implementation)
            this.TargetRegion = implementation;
        end
    end
    
    methods (Access = protected)
        function owner = getOwner_Impl(~)
                % AutosarErrorStatus, AutosarIsUpdated, 
                % AutosarInterRunnable, AutosarMemoryExpression
                % Always owned by XIL
                owner = 'PIL';
        end
        
        function setOwner_Impl(~, ~)
            % no op
        end
    end
end