Skip to content
Snippets Groups Projects
Select Git revision
  • f935e35a8e333f4083836ffed96cbbc5b59a44ad
  • main default protected
  • fix/missing-api-documentation
  • feature/python_example_folder_update
  • beta_release protected
  • fix/revert-gitlab-config
  • fix/citationEcologicalAssessment
  • documentation/styleupdate
  • feature/lightMode
  • documentation/create_mission_xml
  • 28-empennage-design-update-documentation-according-to-workshop
  • documentation/fix-dot-equations
  • documentation/propulsion-design-module
  • documentation/gitlab-workflow
  • documentation/cost_estimation_update
  • documentation/mkdocs_python_update
  • documentation/tank_design_update
  • documentation/landing_gear_design_update
  • documentation/fuselage_design_update
  • documentation/global-header-file-setup
  • feature/mkdoxy
  • 0.5.0
22 results

index.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    BrickIO.m 1.05 KiB
    classdef BrickIO < MaskedHandle
        % Abstract class definition for brick input output
        %
        % Notes:
        %     * The read/write-methods use uint8-arrays.
        %     * Instances of child-classes of BrickIO represent connection handles. The connection is
        %       opened when creating them and closed when deleting them.
        %
        % Methods:
        %     open: Open the connection to the brick
        %     close: Close the connection to the brick
        %     read: Read data from the brick
        %     write: Write data to the brick
        % 
        
        properties (Abstract)
            % timeOut: time-out period (if 0, no time-out)
            timeOut 
        end
        
        properties (Abstract, Access = protected)
            % handle: Connection handle to the device
            handle
        end
        
        methods (Abstract)
            % Open the brick connection
            open(BrickIO)
            % Close the brick connection
            close(BrickIO)
            % Read data from the brick
            read(BrickIO)
            % Write data to the brick
            write(BrickIO)
        end
    end