|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.jddac.common.fblock.Entity
net.java.jddac.jmdi.fblock.FunctionBlock
org.mbari.jddac.RelayBlock
org.mbari.siam.distributed.jddac.InstrumentBlock
org.mbari.siam.distributed.jddac.InstrumentSummaryBlock
public class InstrumentSummaryBlock
| Field Summary |
|---|
| Fields inherited from class org.mbari.siam.distributed.jddac.InstrumentBlock |
|---|
KEY_SENSORDATAPACKET, OpIdProcessDevicePacket |
| Fields inherited from class org.mbari.jddac.RelayBlock |
|---|
OpIdAddFunction |
| Fields inherited from class net.java.jddac.jmdi.fblock.FunctionBlock |
|---|
BL_ACTIVE, BL_INACTIVE, BL_UNINITIALIZED, blockMajorState, blockModelNumber, blockVersion, FB_IDLE, FB_RUNNING, FB_STOPPED, functionBlockState, groupIds, META_TEDS, OpIdClear, OpIdConfigure, OpIdGetAllMetaData, OpIdGetBlockMajorState, OpIdGetFunctionBlockState, OpIdGetGroupIDs, OpIdGetMetaData, OpIdPause, OpIdResume, OpIdStart, pubPortsProperty, subPortsProperty |
| Fields inherited from class net.java.jddac.common.fblock.Entity |
|---|
description, instanceName, META_CLASS, META_NAME, META_OPERATIONS, objectProperties, OpIdGetAttribute, OpIdGetClassName, OpIdGetDescription, OpIdGetInstanceName, OpIdGetObjectProperties, OpIdGetOwningBlockObjectTag, OpIdSetAttribute, OpIdSetInstanceName, owningBlockObjectName, PerformInputArg, PerformResult |
| Constructor Summary | |
|---|---|
InstrumentSummaryBlock()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addVariableName(java.lang.String variableName)
Deprecated. |
void |
doSummary()
Deprecated. |
int |
getSampleCount()
Deprecated. |
StatsBlock |
getStatsBlock()
Deprecated. |
net.java.jddac.common.type.ArgArray |
perform(java.lang.String server_operation_id,
net.java.jddac.common.type.ArgArray server_input_arguments)
Deprecated. Performs the operation using server_input_arguments as the argument to the function used for processing |
void |
processDevicePacket(DevicePacket packet)
Deprecated. |
void |
removeVariableName(java.lang.String variableName)
Deprecated. |
void |
setInstrumentService(InstrumentService instrumentService)
Deprecated. |
void |
setSampleCount(int count)
Deprecated. |
| Methods inherited from class org.mbari.siam.distributed.jddac.InstrumentBlock |
|---|
getInstrumentService |
| Methods inherited from class org.mbari.jddac.RelayBlock |
|---|
addChild, addFunction, getChildren, removeChild |
| Methods inherited from class net.java.jddac.jmdi.fblock.FunctionBlock |
|---|
clear, configure, destroy, destroyDeferredThread, getBlockMajorState, getBlockModelNumber, getBlockVersion, getEntityMetaData, getFunctionBlockState, getGroupIDs, getPubIDFromName, getSubIDFromName, goActive, initialize, notifySubscriber, pause, publish, publishDeferred, reset, resume, setGroupIDs, start |
| Methods inherited from class net.java.jddac.common.fblock.Entity |
|---|
addOpTableMeta, getDescription, getInstanceName, getObjectProperties, getObjectPropery, getOwningBlockObjectName, setDescription, setInstanceName, setObjectProperties, setObjectProperty, setOwningBlockObjectName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentSummaryBlock()
| Method Detail |
|---|
public void doSummary()
public net.java.jddac.common.type.ArgArray perform(java.lang.String server_operation_id,
net.java.jddac.common.type.ArgArray server_input_arguments)
throws java.lang.Exception,
net.java.jddac.common.exception.OpException
RelayBlockPerforms the operation using server_input_arguments as the argument to the function used for processing
You can set the function used by calling:
relatyBlock.addFunction(FunctionFactory.createFunctionArg(OpIdIn, OpIdOut, new SomeIFunction());
perform in class RelayBlockjava.lang.Exception
net.java.jddac.common.exception.OpExceptionpublic int getSampleCount()
public void setSampleCount(int count)
count - The maximum number of samples that the SummaryBlock will hold.
If samples beyond this value are added then the oldest samples are removed
from the summary block and the new sample is added.public void addVariableName(java.lang.String variableName)
public void removeVariableName(java.lang.String variableName)
public void processDevicePacket(DevicePacket packet)
throws java.lang.Exception
processDevicePacket in class InstrumentBlockjava.lang.Exceptionpublic void setInstrumentService(InstrumentService instrumentService)
setInstrumentService in class InstrumentBlockpublic StatsBlock getStatsBlock()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||