Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.wpi.first.wpilibj.communication
Class ModulePresence

    java.lang.Object
      edu.wpi.first.wpilibj.communication.ModulePresence

    public class ModulePresence

extends Object

Class for communicating with the NetworkCommunication library routines which check module presence.

Author:
  pmalmsten

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
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### kMaxModuleNumber

    public static final int kMaxModuleNumber

See Also:
  Constant Field Values

Constructor Detail

### ModulePresence

    public ModulePresence()

Method Detail

### getModulePresence

    public static boolean getModulePresence(ModulePresence.ModuleType moduleType,
                                            int moduleNumber)

  Determines whether the module of the given type and number is present. This method calls the appropriate C function within the NetworkCommunication library in order to get the answer.

  Parameters:
    `moduleType` - The type of the module to be check.
    `moduleNumber` - The ID for this type of module to check (usually 0 or 1).
  Returns:
    Whether the given module is present.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"