Package xal.app.knobs

Class KnobElement.CALimitsHandler

    • Field Detail

      • _lowerChannel

        protected xal.ca.Channel _lowerChannel
        the channel with the lower limit
      • _upperChannel

        protected xal.ca.Channel _upperChannel
        the channel with the upper limit
    • Constructor Detail

      • CALimitsHandler

        protected CALimitsHandler()
    • Method Detail

      • setChannel

        public void setChannel​(xal.ca.Channel channel)
        set a new channel whose limits we wish to monitor TODO: This will not work for PVaccess, but that's maybe not necessary?
      • connectionMade

        public void connectionMade​(xal.ca.Channel channel)
        handle the connection event
        Specified by:
        connectionMade in interface xal.ca.ConnectionListener
      • connectionDropped

        public void connectionDropped​(xal.ca.Channel channel)
        handle the disconnect event
        Specified by:
        connectionDropped in interface xal.ca.ConnectionListener
      • eventValue

        public void eventValue​(double value,
                               xal.ca.Channel channel)
        handle the get value callback
        Specified by:
        eventValue in interface xal.ca.IEventSinkValDbl