| Interface | Description |
|---|---|
| ReadFunctor |
Function object that will execute reads on a Reader.
|
| WriteFunctor |
Function object that will execute writes to a Writer.
|
| Class | Description |
|---|---|
| OctaveExec |
The object connecting to the octave process.
|
| OctaveExecuteReader |
Reader that passes the reading on to the output from the octave process
until the spacer reached, then it returns EOF.
|
| OctaveReaderCallable |
Callable that reads from the octave process.
|
| OctaveWriterCallable |
Callable that writes to the octave process.
|
| ReaderWriteFunctor |
Reads all from the reader and writes it to the writer.
|
| WriterReadFunctor |
Reads all from the reader and writes it to the writer.
|
OctaveExec
executing octave.
Class OctaveExecuteReader
reads the output of the octave process,
with end of stream given by a "spacer".
The basic interfaces are ReadFunctor
and WriteFunctor
reading from a reader and writing to a writer, respectively.
The sole implementations in this package are
ReaderWriteFunctor
which is a WriteFunctor writing to a writer
what is read from a wrapped reader
and WriterReadFunctor
which is a ReadFunctor reading from a reader
and writing to a wrapped writer.
Note that eu.simuline.octave.io.DataReadFunctor
is the other implementation of ReadFunctor
and eu.simuline.octave.io.DataWriteFunctor
is the other implementation of WriteFunctor
the two reading and writing octave objects.
The classes
OctaveWriterCallable and
OctaveReaderCallable are required in
OctaveExec.evalRW(WriteFunctor, ReadFunctor)
only.
The first one writes a command to octave,
whereas the second one reads the result back.
Copyright © 2006–2018 Simuline Organization (l2r). All rights reserved.