Package org.epics.ca
Class Channels
- java.lang.Object
-
- org.epics.ca.Channels
-
public class Channels extends java.lang.ObjectUtility class to create and operate on channel
-
-
Constructor Summary
Constructors Constructor Description Channels()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclose(java.lang.Object object)static voidcreate(Context context, java.lang.Object object)Create annotate channels within objectstatic voidcreate(Context context, java.lang.Object object, java.util.Map<java.lang.String,java.lang.String> macros)Create annotate channels within objectstatic Channel<?>create(Context context, java.lang.String name)static <T> Channel<T>create(Context context, java.lang.String name, java.lang.Class<T> type)static java.util.List<Channel<?>>create(Context context, java.util.List<ChannelDescriptor<?>> descriptors)static <T> Channel<T>create(Context context, ChannelDescriptor<T> descriptor)static <T> voidwaitForValue(Channel<T> channel, T value)static <T> voidwaitForValue(Channel<T> channel, T value, java.util.Comparator<T> comparator)static <T> java.util.concurrent.CompletableFuture<T>waitForValueAsync(Channel<T> channel, T value)static <T> java.util.concurrent.CompletableFuture<T>waitForValueAsync(Channel<T> channel, T value, java.util.Comparator<T> comparator)
-
-
-
Method Detail
-
waitForValue
public static <T> void waitForValue(Channel<T> channel, T value)
-
waitForValue
public static <T> void waitForValue(Channel<T> channel, T value, java.util.Comparator<T> comparator)
-
waitForValueAsync
public static <T> java.util.concurrent.CompletableFuture<T> waitForValueAsync(Channel<T> channel, T value)
-
waitForValueAsync
public static <T> java.util.concurrent.CompletableFuture<T> waitForValueAsync(Channel<T> channel, T value, java.util.Comparator<T> comparator)
-
create
public static <T> Channel<T> create(Context context, java.lang.String name, java.lang.Class<T> type)
-
create
public static <T> Channel<T> create(Context context, ChannelDescriptor<T> descriptor)
-
create
public static java.util.List<Channel<?>> create(Context context, java.util.List<ChannelDescriptor<?>> descriptors)
-
create
public static void create(Context context, java.lang.Object object)
Create annotate channels within object- Parameters:
context- Context to create channels withobject- Object with annotated channels
-
create
public static void create(Context context, java.lang.Object object, java.util.Map<java.lang.String,java.lang.String> macros)
Create annotate channels within object- Parameters:
context- Context to create channels withobject- Object with annotated channelsmacros- Macros to use to apply to the channel name - macros are specified via ${MACRO}.
-
close
public static void close(java.lang.Object object)
-
-