Documentation Set for Swarm 2.2
Prev | Reference IX. Analysis Library | Next

# ActiveOutFile

## Name

ActiveOutFile -- An object that actively updates its file stream when updated.

## Description

This is the file I/O equivalent of ActiveGraph: it takes an OutFile object, a target (datafeed) object, and a selector, which it uses to extract data from the object and send it to the file.

## Protocols adopted by ActiveOutFile

MessageProbe CREATABLE

## Methods

### Phase: Creating

- - setDataFeed: d
  The setDataFeed: method sets the object that will be probed for data.

- - setHDF5Dataset: (id <HDF5>)hdf5Dataset
  Sets an extensible HDF5 dataset that data will be appended.

- - setFileObject: aFileObj
  The setFileObject: method sets the file object to which the data will be sent.

### Phase: Using

- - (double)getCurrentValue
  Returns the last probed value

- - (void)step
  The step method fires the probe, reads the value from the object, and sends the value to the file.

Prev | Home | Next
ActiveGraph | Up | Averager