Package org.hyperonline.hyperlib.port
Class PortMapper
- java.lang.Object
-
- org.hyperonline.hyperlib.port.PortMapper
-
public class PortMapper extends java.lang.ObjectThePortMapperclass generates a wiring diagram from the robot map. class.
-
-
Constructor Summary
Constructors Constructor Description PortMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmapPorts(java.lang.Class<?> c)Generate a wiring diagram from the given class.
-
-
-
Method Detail
-
mapPorts
public void mapPorts(java.lang.Class<?> c) throws DuplicatePortException, InvalidPortException, java.io.IOExceptionGenerate a wiring diagram from the given class.- Parameters:
c- The RobotMap class containing the entries.- Throws:
DuplicatePortException- if there are duplicate portsInvalidPortException- if there are invalid portsjava.io.IOException- if there was an IOException from reading or writing an image
-
-