Parent

Methods

QRTools::UI::Camera

Public Class Methods

new(camera_number) {|self| ...} click to toggle source

(Not documented)

# File lib/qrtools/ui/camera.rb, line 8
      def initialize camera_number
        @camera_number = camera_number
        if block_given?
          start
          yield self
          stop
        end
      end

Public Instance Methods

start() click to toggle source

(Not documented)

# File lib/qrtools/ui/camera.rb, line 17
      def start
        @@locks[@camera_number].lock
        native_start
      end
stop() click to toggle source

(Not documented)

# File lib/qrtools/ui/camera.rb, line 22
      def stop
        @@locks[@camera_number].unlock
        native_stop
      end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.