classdef LaneTypes < uint8
    %LaneTypes Enumeration of supported lane types
    %
    % Lane types:
    %     Driving     - The default lane where a vehicle normally drives.
    %     Parking     - Lane dedicated for parking vehicles.
    %     Border      - Lane adjacent to the road edges.
    %     Shoulder    - An emergency stopping lane for vehicles.
    %     Restricted  - Lane restricted for bus or high occupancy vehicles.
    %
    % See also: laneType 
    
    % Copyright 2019 MathWorks, Inc.
    
    enumeration
        Driving  (0)
        Parking  (1)
        Border   (2)
        Shoulder (3)
        Restricted (4)
    end
     
    methods(Static)
        function assumedType = getAssumedType
            % Return the assumed type of lane when none is specified.
            assumedType = LaneTypes.Driving;
        end
    end
end
