BIE::SubtractionFilter Class Reference

Subtraction Filter: Computes the result of subtracting one real input from another. More...

#include <BinaryFilters.h>

Inheritance diagram for BIE::SubtractionFilter:
Collaboration diagram for BIE::SubtractionFilter:

List of all members.

Public Member Functions

 SubtractionFilter (RecordStream *stream)
 Creates an unconnect filter that performs subtraction for the given input or stream.
void compute ()
 Called when new input is available by the inheriting stream, this fills the filter output buffers.

Friends

class boost::serialization::access


Detailed Description

Subtraction Filter: Computes the result of subtracting one real input from another.

The input fields for this filter are "x" and "y". The result is (x-y), and by default is placed in a new field called "difference".


Constructor & Destructor Documentation

BIE::SubtractionFilter::SubtractionFilter ( RecordStream stream  ) 

Creates an unconnect filter that performs subtraction for the given input or stream.


Member Function Documentation

void BIE::SubtractionFilter::compute (  )  [virtual]

Called when new input is available by the inheriting stream, this fills the filter output buffers.

Implements BIE::RecordStreamFilter.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen