Class DefaultSimCANBoardFactory
java.lang.Object
com.tccc.kos.ext.freestyle.sim.can.board.DefaultSimCANBoardFactory
- All Implemented Interfaces:
SimCANBoardFactory
Factory to a simulated board for a given board type.
- Version:
- 2023-12-17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSimBoard
(CANSimulator sim, String type, int instanceId, int serialNum) Return a simulated board of the specified type.
-
Constructor Details
-
DefaultSimCANBoardFactory
public DefaultSimCANBoardFactory()
-
-
Method Details
-
getSimBoard
Description copied from interface:SimCANBoardFactory
Return a simulated board of the specified type.- Specified by:
getSimBoard
in interfaceSimCANBoardFactory
- Parameters:
sim
- the CAN simulatortype
- the type of board to returninstanceId
- the instance of the board if there are multipleserialNum
- the serial number for the board
-