public class IrRemote extends Object
Constructor and Description |
---|
IrRemote(String name,
ArrayList<String> flags,
HashMap<String,Long> unaryParameters,
HashMap<String,org.harctoolbox.jirc.IrRemote.XY> binaryParameters,
ArrayList<IrNCode> codes) |
Modifier and Type | Method and Description |
---|---|
int |
bit_count() |
static String |
decode_all(IrRemote remotes) |
static IrNCode |
get_code_by_name(IrRemote remote,
String name) |
static IrNCode |
get_code(IrRemote remote,
long pre,
long code,
long post,
Long toggle_bit_mask_statep) |
static void |
get_filter_parameters(IrRemote remotes,
Integer max_gap_lengthp,
Integer min_pulse_lengthp,
Integer min_space_lengthp,
Integer max_pulse_lengthp,
Integer max_space_lengthp) |
static void |
get_frequency_range(IrRemote remotes,
Integer min_freq,
Integer max_freq) |
static IrRemote |
get_ir_remote(IrRemote remotes,
String name) |
HashMap<String,String> |
getApplicationData() |
ArrayList<IrNCode> |
getCodes() |
int |
getDutyCycle() |
int |
getFreq() |
String |
getName() |
static IrRemote |
getRepeat_remote() |
String |
getSource() |
boolean |
has_header() |
static boolean |
has_header(IrRemote remote) |
boolean |
has_post() |
boolean |
has_pre() |
boolean |
has_repeat_gap() |
boolean |
has_repeat() |
boolean |
has_toggle_bit_mask() |
boolean |
is_bo() |
static boolean |
is_bo(IrRemote remote) |
boolean |
is_const() |
boolean |
is_goldstar() |
static boolean |
is_goldstar(IrRemote remote) |
boolean |
is_grundig() |
static boolean |
is_grundig(IrRemote remote) |
static IrRemote |
is_in_remotes(IrRemote remotes,
IrRemote remote) |
boolean |
is_raw() |
static boolean |
is_raw(IrRemote remote) |
boolean |
is_rc5() |
static boolean |
is_rc5(IrRemote remote) |
boolean |
is_rc6() |
static boolean |
is_rc6(IrRemote remote) |
boolean |
is_rcmm() |
static boolean |
is_rcmm(IrRemote remote) |
boolean |
is_space_enc() |
boolean |
is_space_first() |
static boolean |
is_space_first(IrRemote remote) |
boolean |
is_xmp() |
static boolean |
is_xmp(IrRemote remote) |
String |
lircProtocolType() |
static int |
map_code(IrRemote remote,
Long prep,
Long codep,
Long postp,
int pre_bits,
long pre,
int bits,
long code,
int post_bits,
long post) |
static boolean |
match_ir_code(IrRemote remote,
long a,
long b) |
int |
max_gap() |
int |
min_gap() |
static RemoteSet |
newRemoteSet(File configFile,
boolean invokeDecodeIr,
String creatingUser,
int debug) |
static RemoteSet |
newRemoteSet(HashMap<String,IrRemote> remotes,
String configFilename,
boolean invokeDecodeIr,
String creatingUser,
boolean alternatingSigns,
int debug) |
IrSequence |
render(IrNCode code,
boolean useSignsInRawSequences,
boolean repeat,
int debug) |
static long |
set_code(IrRemote remote,
IrNCode found,
long toggle_bit_mask_state,
boolean repeat_flag,
int min_remaining_gap,
int max_remaining_gap) |
void |
set_protocol(int protocol) |
static void |
setRepeat_remote(IrRemote remote) |
void |
setSource(String source) |
static int |
time_left(Date current,
Date last,
int gap) |
Command |
toCommand(IrNCode code,
boolean invokeDecodeIr,
boolean alternatingSigns,
int debug) |
IrSignal |
toIrSignal(IrNCode code,
boolean alternatingSigns,
int debug) |
Remote |
toRemote(boolean invokeDecodeIr,
boolean alternatingSigns,
int debug) |
ModulatedIrSequence |
toSequence(ArrayList<Integer> signals,
boolean alternatingSigns) |
ModulatedIrSequence |
toSequence(int[] array,
boolean alternatingSigns) |
public static IrRemote getRepeat_remote()
public static void setRepeat_remote(IrRemote remote)
public Remote toRemote(boolean invokeDecodeIr, boolean alternatingSigns, int debug)
public Command toCommand(IrNCode code, boolean invokeDecodeIr, boolean alternatingSigns, int debug)
public static RemoteSet newRemoteSet(HashMap<String,IrRemote> remotes, String configFilename, boolean invokeDecodeIr, String creatingUser, boolean alternatingSigns, int debug)
public static RemoteSet newRemoteSet(File configFile, boolean invokeDecodeIr, String creatingUser, int debug) throws IOException
IOException
public String getName()
public String getSource()
public void setSource(String source)
public int getFreq()
public int getDutyCycle()
public int bit_count()
public boolean has_repeat()
public void set_protocol(int protocol)
public boolean is_raw()
public static boolean is_raw(IrRemote remote)
public boolean is_space_enc()
public boolean is_space_first()
public static boolean is_space_first(IrRemote remote)
public boolean is_rc5()
public static boolean is_rc5(IrRemote remote)
public boolean is_rc6()
public static boolean is_rc6(IrRemote remote)
public boolean is_rcmm()
public static boolean is_rcmm(IrRemote remote)
public boolean is_goldstar()
public static boolean is_goldstar(IrRemote remote)
public boolean is_grundig()
public static boolean is_grundig(IrRemote remote)
public boolean is_bo()
public static boolean is_bo(IrRemote remote)
public boolean is_xmp()
public static boolean is_xmp(IrRemote remote)
public boolean is_const()
public boolean has_repeat_gap()
public boolean has_pre()
public boolean has_post()
public boolean has_header()
public static boolean has_header(IrRemote remote)
public boolean has_toggle_bit_mask()
public int min_gap()
public int max_gap()
public static int time_left(Date current, Date last, int gap)
current
- last
- gap
- public static boolean match_ir_code(IrRemote remote, long a, long b)
public static void get_frequency_range(IrRemote remotes, Integer min_freq, Integer max_freq)
public static void get_filter_parameters(IrRemote remotes, Integer max_gap_lengthp, Integer min_pulse_lengthp, Integer min_space_lengthp, Integer max_pulse_lengthp, Integer max_space_lengthp)
public static int map_code(IrRemote remote, Long prep, Long codep, Long postp, int pre_bits, long pre, int bits, long code, int post_bits, long post)
public static IrNCode get_code(IrRemote remote, long pre, long code, long post, Long toggle_bit_mask_statep)
public static long set_code(IrRemote remote, IrNCode found, long toggle_bit_mask_state, boolean repeat_flag, int min_remaining_gap, int max_remaining_gap)
public String lircProtocolType()
public ModulatedIrSequence toSequence(int[] array, boolean alternatingSigns) throws IncompatibleArgumentException
IncompatibleArgumentException
public ModulatedIrSequence toSequence(ArrayList<Integer> signals, boolean alternatingSigns) throws IncompatibleArgumentException
IncompatibleArgumentException
public IrSequence render(IrNCode code, boolean useSignsInRawSequences, boolean repeat, int debug)
Copyright © 2015. All rights reserved.