Class CameraFirewireCPtr


  • public class CameraFirewireCPtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • CameraFirewireCPtr

        public CameraFirewireCPtr​(long cPtr,
                                  boolean cMemoryOwn)
      • CameraFirewireCPtr

        public CameraFirewireCPtr()
        Default constructor yielding a NULL-pointer.
      • CameraFirewireCPtr

        public CameraFirewireCPtr​(CameraFirewire ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • deref

        public CameraFirewire deref()
        The pointer stored in the object.
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • getModelInfo

        public java.lang.String getModelInfo()
        returns the camera model information (version, type, size, etc.)
        Returns:
        camera model information
      • isInitialized

        public boolean isInitialized()
        returns whether this camera is initialized or not.
        Returns:
        true if intialized, false otherwise
      • isStarted

        public boolean isStarted()
        returns whether this camera is started or not.
        Returns:
        true if started, false otherwise
      • isShutterAvailable

        public boolean isShutterAvailable()
        Check if shutter is available.
        Returns:
        True if shutter is available
      • getShutter

        public double getShutter()
        Get actual shutter value.
        Note: If shutter is not available then a dummy implementation
        will throw an error message.
        Returns:
        shutter value in micro-seconds.
      • getShutterBounds

        public pair_d_d getShutterBounds()
        gets the shutter bounds.
        Note: If shutter is not available then a dummy implementation
        will throw an error message.
        Returns:
        first value is the min bound and second value is the max bound
      • isGainAvailable

        public boolean isGainAvailable()
        Check if gain is available.
        Returns:
        True if zoom is available
      • getGain

        public double getGain()
        Get actual gain value.
        Note: If gain is not available then a dummy implementation
        returning -1 is used and an error message is produced.
        Returns:
        Gain value.
      • getName

        public java.lang.String getName()
        returns the name of this sensor
        Returns:
        name of sensor
      • getDescription

        public java.lang.String getDescription()
        returns a description of this sensor
        Returns:
        reference to this sensors description
      • getSensorModel

        public SensorModelPtr getSensorModel()
        The frame to which the sensor is attached.

        The frame can be NULL.