Class SensorModel

    • Constructor Detail

      • SensorModel

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

        public SensorModel​(java.lang.String name,
                           FramePtr frame)
        constructor
        Parameters:
        name - [in] the name of this sensor
        frame - [in] the frame that the sensor is referenced to
      • SensorModel

        public SensorModel​(java.lang.String name,
                           FramePtr frame,
                           java.lang.String description)
        constructor
        Parameters:
        name - [in] the name of this sensor
        frame - [in] the frame that the sensor is referenced to
        description - [in] description of the sensor
    • Method Detail

      • getCPtr

        public static long getCPtr​(SensorModel obj)
      • setName

        public void setName​(java.lang.String name)
        sets the name of this sensor
        Parameters:
        name - [in] name of this sensor
      • setDescription

        public void setDescription​(java.lang.String description)
        sets the description of this sensor
        Parameters:
        description - [in] description of this sensor
      • 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
      • getFrame

        public Frame getFrame()
        The frame to which the sensor is attached.

        The frame can be NULL.
      • attachTo

        public void attachTo​(FramePtr frame)
        Sets the frame to which the sensor should be attached

        Parameters:
        frame - The frame, which can be NULL
      • getPropertyMap

        public PropertyMap getPropertyMap()
        gets the propertymap of this sensor