Package | Description |
---|---|
org.jlab.coda.emu.support.data |
Modifier and Type | Field and Description |
---|---|
protected ControlType |
RingItemAdapter.controlType
If this is a control event, what type of control is it (SYNC, GO, END, ...)?
|
Modifier and Type | Method and Description |
---|---|
ControlType |
RingItem.getControlType()
If this is control event, this method returns the type of
control event, otherwise it returns null.
|
ControlType |
RingItemAdapter.getControlType()
If this is control event, this method returns the type of
control event, otherwise it returns null.
|
static ControlType |
ControlType.getControlType(int val)
Obtain the enum from the value.
|
static ControlType |
ControlType.getControlTypeFromOrdinal(int val)
Obtain the enum from the ordinal value.
|
static ControlType |
ControlType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlType[] |
ControlType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PayloadBuffer |
Evio.createControlBuffer(ControlType type,
int runNumber,
int runType,
int eventsInRun,
int eventsSinceSync,
java.nio.ByteOrder order,
boolean error)
Create a Control event with a ByteBuffer which is ready to read.
|
static org.jlab.coda.jevio.EvioEvent |
Evio.createControlEvent(ControlType type,
int runNumber,
int runType,
int eventsInRun,
int eventsSinceSync,
boolean error)
Create a Control event.
|
void |
RingItem.setAll(org.jlab.coda.jevio.EvioEvent ev,
java.nio.ByteBuffer buf,
org.jlab.coda.jevio.EvioNode nd,
EventType eType,
ControlType cType,
boolean user,
boolean first,
int chanId,
int rId,
int sId,
int evCount,
java.lang.String sName,
ByteBufferItem bbItem,
ByteBufferSupply bbSupply)
For a ringItem producer, when a new item is obtained, it must have all
of its values set or reset.
|
void |
RingItemAdapter.setAll(org.jlab.coda.jevio.EvioEvent ev,
java.nio.ByteBuffer buf,
org.jlab.coda.jevio.EvioNode nd,
EventType eType,
ControlType cType,
boolean user,
boolean first,
int chanId,
int rId,
int sId,
int evCount,
java.lang.String sName,
ByteBufferItem bbItem,
ByteBufferSupply bbSupply)
For a ringItem producer, when a new item is obtained, it must have all
of its values set or reset.
|
void |
RingItem.setControlType(ControlType type)
Set the type of control event this is.
|
void |
RingItemAdapter.setControlType(ControlType type)
Set the type of control event this is.
|
Constructor and Description |
---|
PayloadBuffer(java.nio.ByteBuffer buffer,
EventType eventType,
ControlType controlType,
int recordId,
int sourceId,
java.lang.String sourceName,
org.jlab.coda.jevio.EvioNode node)
Constructor that sets attachment to null.
|