Package org.hyperonline.hyperlib.port
Class PortMapper
- java.lang.Object
-
- org.hyperonline.hyperlib.port.PortMapper
-
public class PortMapper extends java.lang.Object
ThePortMapper
class 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 void
mapPorts(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.IOException
Generate 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
-
-