itaTransferPathAirborne.m 1.34 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
classdef itaTransferPathAirborne %< handle

% <ITA-Toolbox>
% This file is part of the application TPA-TPS for the ITA-Toolbox. All rights reserved. 
% You can find the license for this m-file in the application folder. 
% </ITA-Toolbox>

    
    properties(Access = private)
        mType            = 'airborne'; %input/output
    end
    properties(Dependent = true, Hidden = false)
        type
    end
    
    properties
        name            = '';
        amplification   = '0dB';
        signal          = itaAudio;
        TP              = itaAudio;
    end
    
    %% **************************************************************
    methods
        %% constructor
        
        
        function show(this)
            disp(['****************** ' class(this) ' *****************'])
            disp([' Name: ' this.name]);
            if ~isempty(this.signal)
                cdisp('green',['Signal: ' this.signal.comment]);
            else
                cdisp('red',['Signal: ' 'not specified']);
            end
            
           
            if ~isempty(this.TP)
                cdisp('green',['TP: ' this.TP.comment]);
            else
                cdisp('red',['TP: ' 'not specified']);
            end
            
        end
        
        function res = get.type(this)
            res = this.mType;
        end
    end

    
    
end