Class EPICS2PBTypeMapping


  • public class EPICS2PBTypeMapping
    extends Object
    Separate out the JCA/EPICS v4 => PB mapping into a separate class so that clients (read ArchiveViewer) do not have to include the entire JCA/EPICS v4 jars. This relies on its sister class DBR2PBTypeMapping...
    Author:
    mshankar
    • Method Detail

      • getPBClassFor

        public static EPICS2PBTypeMapping getPBClassFor​(ArchDBRTypes type)
        Get to the constructors that construct DBRTimeEvents from EPICS v3/v4 (JCA DBR etc) types this way.
        Parameters:
        type - ArchDBRTypes
        Returns:
        typemap.get(type)
      • getJCADBRConstructor

        public Constructor<? extends DBRTimeEvent> getJCADBRConstructor()
        Get a constructor that takes a JCA DBR and spits out a DBRTimeEvent
        Returns:
        JCADBRConstructor
      • getEPICSV4DBRConstructor

        public Constructor<? extends DBRTimeEvent> getEPICSV4DBRConstructor()
        Get a constructor that takes a Data_EPICSV4 and spits out a DBRTimeEvent
        Returns:
        EPICSV4DBRConstructor