15 package com.neuronrobotics.sdk.dyio.peripherals;
18 import java.util.ArrayList;
20 import com.neuronrobotics.sdk.common.ByteList;
21 import com.neuronrobotics.sdk.common.Log;
22 import com.neuronrobotics.sdk.dyio.DyIO;
23 import com.neuronrobotics.sdk.dyio.DyIOChannel;
24 import com.neuronrobotics.sdk.dyio.DyIOChannelEvent;
25 import com.neuronrobotics.sdk.dyio.DyIOChannelMode;
26 import com.neuronrobotics.sdk.common.DeviceManager;
27 import com.neuronrobotics.sdk.dyio.IChannelEventListener;
37 private ArrayList<ICounterOutputListener>
listeners =
new ArrayList<ICounterOutputListener>();
168 l.onCounterValueChange(
this, value);
177 Log.
info(
"Setting counter set point");
boolean addAs32(int value)
static Object getSpecificDevice(String name, IDeviceProvider provider)
static void info(String message)
boolean setMode(DyIOChannelMode mode)
void setCachedTime(float cachedTime)
void setCachedValue(int cachedValue)
void addChannelEventListener(IChannelEventListener l)
DyIOChannel getChannel(int channel)
void init(DyIOChannel channel, boolean isAsync)
boolean setValue(int value)
void addCounterOutputListener(ICounterOutputListener l)
ArrayList< ICounterOutputListener > listeners
CounterOutputChannel(int channel)
CounterOutputChannel(DyIO dyio, int channel)
void fireOnCounterOutput(int value)
void removeAllCounterOutputListeners()
void setAsync(boolean isAsync)
CounterOutputChannel(DyIOChannel channel)
void onChannelEvent(DyIOChannelEvent e)
boolean SetPosition(int pos)
boolean SetPosition(int pos, float time)
void removeCounterOutputListener(ICounterOutputListener l)
CounterOutputChannel(DyIOChannel channel, boolean isAsync)
DyIOChannelMode getMode()