com.esri.sde.sdk.client
Interface SeRasterProducer

All Known Implementing Classes:
SeRasterScanLineProducer

public interface SeRasterProducer

The interface for objects which can produce raster data for SeInsert or SeUpdate operation.

See SeRasterAttr.setRasterProducer for sample code.

Since:
ArcSDE 9.0
See Also:
SeRasterAttr, SeRasterConsumer, SeRasterRenderedImage, SeRasterRenderedTile

Method Summary
 void addConsumer(SeRasterConsumer rc)
          Adds an SeRasterConsumer to the list of consumers interested in data for this raster.
 boolean isConsumer(SeRasterConsumer rc)
          Determine if a SeRasterConsumer is on the list of consumers currently interested in data for this raster.
 void removeConsumer(SeRasterConsumer rc)
          This method removes the given SeRasterConsumer object from the list of consumers currently registered to receive image data.
 void startProduction(SeRasterConsumer rc)
          This method is used by a SeRasterConsumer object to request data or starts an reconstruction of the raster data which will then be delivered to this consumer.
 

Method Detail

addConsumer

void addConsumer(SeRasterConsumer rc)
Adds an SeRasterConsumer to the list of consumers interested in data for this raster.


isConsumer

boolean isConsumer(SeRasterConsumer rc)
Determine if a SeRasterConsumer is on the list of consumers currently interested in data for this raster.


removeConsumer

void removeConsumer(SeRasterConsumer rc)
This method removes the given SeRasterConsumer object from the list of consumers currently registered to receive image data. It is not considered an error to remove a consumer that is not currently registered. The SeRasterProducer should stop sending data to this consumer as soon as is feasible.


startProduction

void startProduction(SeRasterConsumer rc)
This method is used by a SeRasterConsumer object to request data or starts an reconstruction of the raster data which will then be delivered to this consumer.

Example:

        rc.setScanLines (...);          // As many times as needed
        rc.rasterComplete();