Package org.harctoolbox.jirc
Class IrNCode
java.lang.Object
org.harctoolbox.jirc.IrNCode
This class consists of an IR code with a name. It mirrors ir_ncode from Lirc 0.9.0.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCode()
getName()
getNext()
static long
void
setCode
(long code) void
setCurrent
(IrCodeNode current) void
setTransmit_state
(IrCodeNode transmit_state)
-
Constructor Details
-
IrNCode
-
IrNCode
IrNCode(String name, long code) -
IrNCode
-
-
Method Details
-
parseLircNumber
-
getName
- Returns:
- the name
-
getCode
public long getCode()- Returns:
- the code
-
getSignals
- Returns:
- the signals
-
getNext
- Returns:
- the next
-
getCurrent
- Returns:
- the current
-
getTransmit_state
- Returns:
- the transmit_state
-
setCurrent
- Parameters:
current
- the current to set
-
setTransmit_state
- Parameters:
transmit_state
- the transmit_state to set
-
setCode
public void setCode(long code) - Parameters:
code
- the code to set
-