| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.wpi.first.wpilibj.communication.ModulePresence
public class ModulePresence
Class for communicating with the NetworkCommunication library routines which check module presence.
| Nested Class Summary | |
|---|---|
| static class | ModulePresence.ModuleType | 
| Field Summary | |
|---|---|
| static int | kMaxModuleNumber | 
| Constructor Summary | |
|---|---|
| ModulePresence() | |
| Method Summary | |
|---|---|
| static boolean | getModulePresence(ModulePresence.ModuleType moduleType,
                                   int moduleNumber)Determines whether the module of the given type and number is present. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int kMaxModuleNumber
| Constructor Detail | 
|---|
public ModulePresence()
| Method Detail | 
|---|
public static boolean getModulePresence(ModulePresence.ModuleType moduleType,
                                        int moduleNumber)
moduleType - The type of the module to be check.moduleNumber - The ID for this type of module to check (usually 0 or 1).
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||