Class DefaultSimCANBoardFactory

java.lang.Object
com.tccc.kos.ext.freestyle.sim.can.board.DefaultSimCANBoardFactory
All Implemented Interfaces:
SimCANBoardFactory

public class DefaultSimCANBoardFactory extends Object implements SimCANBoardFactory
Factory to a simulated board for a given board type.
Version:
2023-12-17
  • Constructor Details

    • DefaultSimCANBoardFactory

      public DefaultSimCANBoardFactory()
  • Method Details

    • getSimBoard

      public SimCANBoard getSimBoard(CANSimulator sim, String type, int instanceId, int serialNum)
      Description copied from interface: SimCANBoardFactory
      Return a simulated board of the specified type.
      Specified by:
      getSimBoard in interface SimCANBoardFactory
      Parameters:
      sim - the CAN simulator
      type - the type of board to return
      instanceId - the instance of the board if there are multiple
      serialNum - the serial number for the board