classdef (Abstract, Hidden) CounterOverhead < target.Overhead

    properties (Dependent)
        Counter target.Counter {mustBeScalarOrEmpty}
        MinimumBenchmarkIterations (1, 1) int32
    end

    methods

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

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

        function value = get.MinimumBenchmarkIterations(this)
            value = this.InnerInstance.MinimumBenchmarkIterations;
        end

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

%   Copyright 2021-2022 The MathWorks, Inc.