BowlerKernel
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.dyio.DyIOPowerEvent Class Reference
Inheritance diagram for com.neuronrobotics.sdk.dyio.DyIOPowerEvent:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.dyio.DyIOPowerEvent:
Collaboration graph
[legend]

Public Member Functions

 DyIOPowerEvent (DyIOPowerState bankA, DyIOPowerState bankB, double batteryVoltage)
 
DyIOPowerState getChannelAMode ()
 
DyIOPowerState getChannelBMode ()
 
double getVoltage ()
 
String toString ()
 

Private Member Functions

void setVoltage (double voltage)
 

Private Attributes

DyIOPowerState bankAState
 
DyIOPowerState bankBState
 
double voltage
 

Detailed Description

The Class DyIOPowerEvent.

Definition at line 7 of file DyIOPowerEvent.java.

Constructor & Destructor Documentation

◆ DyIOPowerEvent()

com.neuronrobotics.sdk.dyio.DyIOPowerEvent.DyIOPowerEvent ( DyIOPowerState  bankA,
DyIOPowerState  bankB,
double  batteryVoltage 
)

Instantiates a new dy io power event.

Parameters
bankAthe bank a
bankBthe bank b
batteryVoltagethe battery voltage

Definition at line 25 of file DyIOPowerEvent.java.

References com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankAState, com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankBState, and com.neuronrobotics.sdk.dyio.DyIOPowerEvent.setVoltage().

Here is the call graph for this function:

Member Function Documentation

◆ getChannelAMode()

DyIOPowerState com.neuronrobotics.sdk.dyio.DyIOPowerEvent.getChannelAMode ( )

Gets the channel a mode.

Returns
the channel a mode

Definition at line 36 of file DyIOPowerEvent.java.

References com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankAState.

◆ getChannelBMode()

DyIOPowerState com.neuronrobotics.sdk.dyio.DyIOPowerEvent.getChannelBMode ( )

Gets the channel b mode.

Returns
the channel b mode

Definition at line 45 of file DyIOPowerEvent.java.

References com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankBState.

◆ getVoltage()

double com.neuronrobotics.sdk.dyio.DyIOPowerEvent.getVoltage ( )

Gets the voltage.

Returns
the voltage

Definition at line 63 of file DyIOPowerEvent.java.

References com.neuronrobotics.sdk.dyio.DyIOPowerEvent.voltage.

Referenced by com.neuronrobotics.sdk.dyio.DyIOPowerEvent.toString().

◆ setVoltage()

void com.neuronrobotics.sdk.dyio.DyIOPowerEvent.setVoltage ( double  voltage)
private

Sets the voltage.

Parameters
voltagethe new voltage

Definition at line 54 of file DyIOPowerEvent.java.

References com.neuronrobotics.sdk.dyio.DyIOPowerEvent.voltage.

Referenced by com.neuronrobotics.sdk.dyio.DyIOPowerEvent.DyIOPowerEvent().

◆ toString()

String com.neuronrobotics.sdk.dyio.DyIOPowerEvent.toString ( )

Member Data Documentation

◆ bankAState

DyIOPowerState com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankAState
private

◆ bankBState

DyIOPowerState com.neuronrobotics.sdk.dyio.DyIOPowerEvent.bankBState
private

◆ voltage

double com.neuronrobotics.sdk.dyio.DyIOPowerEvent.voltage
private

The documentation for this class was generated from the following file: