Class MeasurementLogger

  extended by
      extended by
          extended by org.mbari.siam.core.MeasurementLogger
All Implemented Interfaces:,

public class MeasurementLogger

This FunctionBlock logs SiamRecords into MeasurementPackets.

Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
Fields inherited from class
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
description, instanceName, META_CLASS, META_NAME, META_OPERATIONS, objectProperties, OpIdGetAttribute, OpIdGetClassName, OpIdGetDescription, OpIdGetInstanceName, OpIdGetObjectProperties, OpIdGetOwningBlockObjectTag, OpIdSetAttribute, OpIdSetInstanceName, owningBlockObjectName, PerformInputArg, PerformResult
Constructor Summary
MeasurementLogger(BaseInstrumentService instrumentService)
Method Summary
protected  void logSample(SiamRecord record)
          Log the input SiamRecord to the device log as a MeasurementPacket. perform(java.lang.String operationID, input)
          This is the F-block's public "client-server" interface method.
Methods inherited from class
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
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

Field Detail


protected static org.apache.log4j.Logger _log4j
Log4j logger

Constructor Detail


public MeasurementLogger(BaseInstrumentService instrumentService)
Method Detail


public perform(java.lang.String operationID,
This is the F-block's public "client-server" interface method.

perform in class


protected void logSample(SiamRecord record)
Log the input SiamRecord to the device log as a MeasurementPacket.

Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.